Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello,
I have a fact table that refers to about 30 of a dimension table's 100 keys. What is best practice to only load dimension table keys that are in the fact table?
I can get what I want by
* referencing the (VERY LARGE) fact table
* removing all columns but the foregin key column
* removing duplicates
* merging (inner join) with the dimension table
I was thinking there has to be a less expensive way than this though. It would be nice to not have all the unnecessary dimension table data.
Thanks!
Solved! Go to Solution.
Use Power Query and Query folding to pre-filter your data, or do that in your data source.
NOTE: yes, you should reduce the amount of data you load into Power BI as early as possible, but not earlier. Take some time to consider if you are destroying information by applying this filter.
Use Power Query and Query folding to pre-filter your data, or do that in your data source.
NOTE: yes, you should reduce the amount of data you load into Power BI as early as possible, but not earlier. Take some time to consider if you are destroying information by applying this filter.
User | Count |
---|---|
84 | |
76 | |
74 | |
48 | |
39 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |