Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am trying to connect tables that have a structure where the data has a hierarchical structure, with the projects table ID being the primary key and the parent ID in the milestones table being a foreign key. This is the structure:
I want to be able to use visualisations to filter the data; for example, to create a table visualisation that shows the corresponding milestones / tasks when a project is selected. I also want to be able to filter by date across the three tables. However, when I try to create active relationships between the fact tables and the date table, I get a warning that I cannot create this due to an active set of indirect relationships between the tables. I’m not sure how best to set up the relationships?
Solved! Go to Solution.
Hi Laura,
The reason you cannot create the relationship between date and all three fact tables is because your filters would be ambiguous. For example, there would be more than one to filter down from the date table to Milestones. If the Date to Milestones relationship was active, how would your model know to use Dates to filter Project, which filters Milestones or to filter from Dates to Milestones directly?
There are almost certainly ways to achieve something like what you want; you just have to be very intentional about how exactly you want the user to interact with the report.
Two possible solutions off the top of my head:
----------------------------------
If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)
P.S. Need a more in-depth consultation for your Power BI data modeling or DAX issues? Feel free to hire me on Upwork or DM me directly on here! I would love to clear up your Power BI headaches.
Proud to be a Super User! | |
Hi Laura,
The reason you cannot create the relationship between date and all three fact tables is because your filters would be ambiguous. For example, there would be more than one to filter down from the date table to Milestones. If the Date to Milestones relationship was active, how would your model know to use Dates to filter Project, which filters Milestones or to filter from Dates to Milestones directly?
There are almost certainly ways to achieve something like what you want; you just have to be very intentional about how exactly you want the user to interact with the report.
Two possible solutions off the top of my head:
----------------------------------
If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)
P.S. Need a more in-depth consultation for your Power BI data modeling or DAX issues? Feel free to hire me on Upwork or DM me directly on here! I would love to clear up your Power BI headaches.
Proud to be a Super User! | |
User | Count |
---|---|
77 | |
76 | |
41 | |
29 | |
24 |
User | Count |
---|---|
96 | |
91 | |
52 | |
47 | |
46 |