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 have several filters coming from dimension tables and it should only show values in the fact table.
To make this possible I have to set the directions of relationship to "BOTH" or I would have to merge all dimension tables into the fact table and use the columns in the flattened fact table as filter.
Conventional wisdom of datamodelling says that you should not flattening tables (merge option) and avoid BI directional relationship.
So which of the "bad" option is the best, or is there another way to filter fact values??
Solved! Go to Solution.
Hi,
I think you should consider using DAX and Creating a calculated Diemension Table.
Do "Accept as Solution" if this solves your Issue 🙂
Hi,
Instead of doing any of this, Might I suggest that you do a DISTINCT(Fact[Diemension_Column]). You can use this as the Diemension Table with a Single Directional Relationship flowing from the Diemension Table to the Fact Table.
@Anonymous thx for your reply.
I have thought about this and this off course would also do the trick.
I wonder which method has a better performance: getting dimensiontable from database or using DAX to make dimension table.
Hi,
I think you should consider using DAX and Creating a calculated Diemension Table.
Do "Accept as Solution" if this solves your Issue 🙂
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 |
---|---|
110 | |
99 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
110 | |
91 | |
84 | |
66 |