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
JPY
Helper II
Helper II

The totals are inaccurate with Sample data attachted

Hi all,
I am wondering why the total values are inaccurate as shown below.

Please refer to the sample data provided in the link below.

Here is the link

 

Capture4.PNGCapture5.PNG

 

Hi @Anonymous, 

Kindly pls see the sample data.

 

Thanks for help

Joyce

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @JPY ,

If that's the correct number, then you can create this new Calculated Table, which will not have a relationship to either table.

Summary PBIC = 
SUMMARIZECOLUMNS(
    'Margin PBIC'[Product Family],
    "Total Amount", 
    SUMX(
        RELATEDTABLE('Opp PBIC'),
        [Amount (converted)]
    )
)

Cheers!

Nathan

View solution in original post

7 REPLIES 7
Anonymous
Not applicable

@JPY  - The problem appears to be that there are multiple Product Families associated with the same Ref Number. So, the Grand Total is an accurate representation, and each row is also an accurate representation of the amount associated with each Product Family. You generally want a fact table row to be associated with only one dimension table row.

Cheers!

Nathan

Hi @Anonymous ,

Thanks for your prompt reply.

Understand what you are saying, however how would I go about adopting your solution?

I simply want the total for each product family and removing duplicates may give inaccurate data.

 

 

Regards,

Joyce

Hi @Anonymous ,

How to get this number?

 

Capture7.PNG

Thanks,

Joyce

Anonymous
Not applicable

Hi @JPY ,

If that's the correct number, then you can create this new Calculated Table, which will not have a relationship to either table.

Summary PBIC = 
SUMMARIZECOLUMNS(
    'Margin PBIC'[Product Family],
    "Total Amount", 
    SUMX(
        RELATEDTABLE('Opp PBIC'),
        [Amount (converted)]
    )
)

Cheers!

Nathan

Hi @Anonymous,

I have tried the calculated table and it works for me.

Thank you so much. 🙂

Hi @JPY ,

 

Where is the 10.7bn from? As I checked the pbix you shared. I cannot find the logic to get the correct result as you excepted.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Hi @v-frfei-msft ,

Thank you for your reply!

10.7 billion is the number that I get when I manually added up all the numbers.

 

Thanks,

Joyce

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!

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