title: Import SQL server database without empty columns
body: <p>I'm importing a set of tables from a SQL Server DB to Power BI Desktop.</p>
  
  <p>It's a huge database and I'm selecting only some of its tables.</p>
  
  <p>However, these tables have empty columns or columns with zeros only, so I've created two M functions to apply to each and every table to "clean" them.</p>
  
  <p>Is it possible to specify an SQL command in the import settings to fetch only "valid" columns, thus avoiding loading them to Power BI and use custom functions?</p>
  
  <p>Can anyone please share sucha a SQL command?</p>
  
  <p>Thank you!</p>