March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi All,
I have two files where one is coming from direct sql query and other one is a excel file. Power BI automatically creates Many to many relationship but still when i try to create table i get duplicates in quota column. I am completely new to power BI and not understanding why is this happening. I have also attached the sample pbix file here.
Solved! Go to Solution.
if you are new to Power BI, you shouldn't use Many to Many relationship.
You can try to turn it to One to Many relationship by creating 2 Dimension tables:
Table 2 = DISTINCT(UNION(VALUES(Sheet1[MONTH]), VALUES('Sheet1 (2)'[Month])))
Table = DISTINCT(UNION(VALUES(Sheet1[CL_KEY]), VALUES('Sheet1 (2)'[CL_KEY])))
then use that 2 tables link to the fact table.
you can check PBI file here:
Actually, the power bi reads the quota you have on your database per month. If you will remove the month, this will show:
if you are new to Power BI, you shouldn't use Many to Many relationship.
You can try to turn it to One to Many relationship by creating 2 Dimension tables:
Table 2 = DISTINCT(UNION(VALUES(Sheet1[MONTH]), VALUES('Sheet1 (2)'[Month])))
Table = DISTINCT(UNION(VALUES(Sheet1[CL_KEY]), VALUES('Sheet1 (2)'[CL_KEY])))
then use that 2 tables link to the fact table.
you can check PBI file here:
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
87 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |