Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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! | |
| User | Count |
|---|---|
| 60 | |
| 47 | |
| 31 | |
| 18 | |
| 17 |
| User | Count |
|---|---|
| 77 | |
| 66 | |
| 44 | |
| 24 | |
| 22 |