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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
sajjadkhan25
Helper I
Helper I

Really need help in total not capturing correctly in my table

Hi Team and @amitchandak sir ,

hope all are good need help with this,

sajjadkhan25_0-1645949313600.png

following is the screen shot where you can see total is coming wrong 

A1 = [sdk]*Ac_T1[conversion],[sdk]
sdk = is the simple running total of values 

conversion =
CALCULATE(
    SUM(vwCurrencyConversion[YTD_Rate]),vwCurrencyConversion[month_yeaR_MAP]=SELECTEDVALUE(Ac_T1[FY]))
Ac_T1 is my slicer value coming from other table 

Account Desc is coming from hierarchy table 
sajjadkhan25_1-1645949576605.png

please help me how to correct my measure to make value come properly.

Thanks in advance

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @sajjadkhan25 ,

 

The total is not what you expect because the total also performs the calculation logic of your formula, rather than simply adding up the row values.

 

Try

new A1 = SUMX(SUMMARIZE('Table','Table'[LocalCurrency],"conversion",[conversion],"A1",[A1]),[A1])

 

Note: If [LocalCurrency] is a column, reference it directly, if it is a measure, do like [conversion] and [A1].

 

If still not correct, please provide some sample data and expected results. Then I have another question, why is there a comma after [conversion] and then [sdk]?

vstephenmsft_0-1646209121601.png

 

Fixing Incorrect Totals Using DAX Measures In Power BI | Enterprise DNA

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @sajjadkhan25 ,

 

The total is not what you expect because the total also performs the calculation logic of your formula, rather than simply adding up the row values.

 

Try

new A1 = SUMX(SUMMARIZE('Table','Table'[LocalCurrency],"conversion",[conversion],"A1",[A1]),[A1])

 

Note: If [LocalCurrency] is a column, reference it directly, if it is a measure, do like [conversion] and [A1].

 

If still not correct, please provide some sample data and expected results. Then I have another question, why is there a comma after [conversion] and then [sdk]?

vstephenmsft_0-1646209121601.png

 

Fixing Incorrect Totals Using DAX Measures In Power BI | Enterprise DNA

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

mahoneypat
Microsoft Employee
Microsoft Employee

Please see this video on how to get the expected total value in your visual.

(2) Power BI - Tales from the front #01 - Getting the Right Total - YouTube

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


sajjadkhan25
Helper I
Helper I

Please help me with this 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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