Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I am using Power BI over an SSAS Tabular model.
We have several generic dimensions, like Nationality, which usually come from standardised data sets and have many entries.
Any particular fact table only uses a few of these.
For example there are 120 Nationalities listed but our staff come from only 20 of these.
How can I restrict the list of dimensions available in slicers to just the 20 that are used ?
This could be in either the SSAS or the Power-BI areas.
Any ideas appreciated
JC
Here is a solution I found.
To SSAS The tables setup in Visual Studio are actually views of objects dimensions in the data database
so I changed the views to include an addition to the where clause
AND dds_code_sk in (select distinct Nationality_sk from [Data].FACT_FT
ie where the key is actually in use on the Fact.
Now only used values appear in the dimensions of the cube
Its not efficient I am sure but it works!
JC
Hi jc508,
Actually, you can create a dataset storing nationalities in PowerBI and create relationship between your data. Then use this as Slicer. Try it and let me know if it helps.
Sam,
thanks for the thought and sorry for the delayed response (I actually got some holidays!)
I think your idea kind of hurts the idea of shared / conformed dimensions especially when they come from external sources.
JC
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
16 | |
2 | |
2 | |
1 | |
1 |