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.
Hi all
I have the following 4 tables:
Sites
Lifts
Customers
Sales
They are linked as below:
Lifts M --- 1 Sites
Sites M ---1 Customers
Customers 1 --- M Sales
Table structure is as follows:
Lifts:
LiftID SiteID LiftName
Sites:
SiteID CustomerID SiteName
Customers:
CustomerID CustomerName
Sales:
SalesID CustomerID SiteID LiftID Amount Date
How can I link the Sites and Lifts table to Sales, so that I can see Sales by LiftName and Sales by SiteName? If I try to create a relationship between Lifts and Sales using LiftID (the obvious choice initially for me) I get ambiguity errors in Power BI. Same with trying to create a relationship between Sales and SiteID
See below PBIX file with data:
https://1drv.ms/u/s!AuiIgc_S9J5JhbYbCO2jbeQPfpzmXw
Cheers for all help
Solved! Go to Solution.
Hi @parry2k I managed to find an answer to this, it involved using the USERELATIONSHIP function to use an inactive relationship - didnt know the function could do that. Thanks for the reply
@ansa_naz I looked at your file and you can set direct relationship between your sales table and life and site table and that will give you the result
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hi @parry2k I cannot remove the relationship between Site and Customer as it is needed for other visuals. Because of that, any relationship betwen Site/Sales and Lift/Sales cannot be activated:
Any ideas?
Cheers
@ansa_naz I don;t think it will work based on your relationship, you have to set the relationship between you sales and other tables and you need to review other reports and make the changes.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hi @parry2k I managed to find an answer to this, it involved using the USERELATIONSHIP function to use an inactive relationship - didnt know the function could do that. Thanks for the reply
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
76 | |
61 | |
37 | |
33 |
User | Count |
---|---|
99 | |
56 | |
51 | |
42 | |
40 |