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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors