Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 216047

SQL Query or Remove Columns

$
0
0

Hello,

 

I've got a question that I haven't been able to figure out on my own, Using PBI Desktop, asfter selecting a data source, you're given the option in Advanced Options to write an SQL statement to precisely select the columns/parameters you'd like to have load in your dataset. Lets assume I do the following:

 

SELCECT COLUMN-A, COLUMN-B

FROM TABLE-1

So I'll only get 2 columns from my 100 column table. 

 

Let's say that I did NOT write this statement and opted to load the entire report. Now I go to Edit Queries and Remove all Columns except COLUMN-A, COLUMN-B using the PBI UI. 

 

  • Did I just accomplish the same thing?
    • If I choose to Remove Columns, will the removed columns still be queried, but just not displayed in the dataset? 
  • If so, what is the equivalent to a WHERE statement in Query Editor? Some sort of DAX measure?

The end goal here is to limit load times. Our connection to a certain Oracle DB is very slow and I'm trying to make my dataset as lean as possible.


Viewing all articles
Browse latest Browse all 216047

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>