Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
reddy421
Helper I
Helper I

Issue with Data Duplication when adding SalesPerTransaction Measure in Power BI Report

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.

1.png

The data appears correctly for one check (which is satisfactory).

 

2.png

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])

 

3.png

I would appreciate any assistance with resolving this issue. Thank you.

 

5 REPLIES 5
Ashish_Mathur
Super User
Super User

Hi,

I cannot understand anything from those tiny images.  Share some data to work with, explain the question and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@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.

4.png

 

But as soon as I drop the measure(SPT), I get the data like below.

5.png

Hope this pics are better than before.

Cannot work with pics.  I will need a file.  Show the expected result there clearly.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
jgeddes
Super User
Super User

If you change the relationship between IG_CheckItem and IG_MenuItem to bi-directional do you get your desired result?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





@jgeddes ... No it did not work.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.