This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
Hello, I have a concern regarding the duplication of data when I add my SalesPerTransaction (SPT) Measure to my Power BI report. Below is the structure of my model.
The data appears correctly for one check (which is satisfactory).
However, when I include the SPT measure, the data duplicates as shown below. Here's the formula I'm using for SPT:
SPT = SUM(IG_Check[GrossRevenue]) / COUNT(IG_Check[CheckNumber])
I would appreciate any assistance with resolving this issue. Thank you.
Hi,
I cannot understand anything from those tiny images. Share some data to work with, explain the question and show the expected result.
@Ashish_Mathur ....
Sorry for the tiny pics.
I was expecting only one row since for this.
This is one check that is one item being purchased.
But as soon as I drop the measure(SPT), I get the data like below.
Hope this pics are better than before.
Cannot work with pics. I will need a file. Show the expected result there clearly.
If you change the relationship between IG_CheckItem and IG_MenuItem to bi-directional do you get your desired result?
Proud to be a Super User! | |
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 29 | |
| 23 | |
| 22 | |
| 20 | |
| 20 |