title: How to select N columns from a PowerBI table?
body: <p>I have the following table with three columns A, B, and C on PowerBI, from which I want to select columns A and B to create a new table. </p>
  
  <p>And looking from the equivalent in Pandas to: </p>
  
  <pre><code>table_2 = table1[["A","B"]]
  </code></pre>
  
  <p>or from SQL:</p>
  
  <pre><code>SELECT A,B FROM table1;
  </code></pre>
  
  <p>But I'm not finding the equivalent function on Power BI; the <a href="https://docs.microsoft.com/en-us/dax/selectcolumns-function-dax" rel="nofollow noreferrer">SELECTCOLUMNS</a> function is used to create a new column as stated in the docs: </p>
  
  <blockquote>
    <p>Adds calculated columns to the given table or table expression.</p>
  </blockquote>