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! Learn more

Reply
Anonymous
Not applicable

Simple Summarized Total Calculation not getting expected result

Hi Everyone,

I'm looking for some ideas on how to solve a pretty simple problem.

In the example below, I want the column of total F to sum up the two rows above (i.e. 6,524+617 = 7,141).  Instead it follows the same calculation as the individual rows (24.04 * 303 = 7,284).

 

 

How do I get column F to sum the way I want?

 

I mocked up a simpler example of the relationships as I'm pulling in lots more fields and I'd like to keep this simple.  Table 3 is a summarized table of Table 2 so I can get the calculation totals I want for column E.  However, I need F to update based on the date filters and it does not when I put F in Table 3 (i.e. in Table 3 if I put F = Calculate (E*D, ALLSELECTED('Date Table'[Date])) it does not adjust for the date range filter).

 

Thanks for your feedback

 

Capture.JPGCapture2.JPG

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @Anonymous

5.png

For your first case, you could modify the measure F with the following formula.

Measure =
IF (
    COUNTROWS ( VALUES ( Sheet1[name] ) ) = 1,
    [F],
    SUMX ( VALUES ( Sheet1[name] ), [F] )
)

6.png

 

 

For second case, how about editing the relationship between table1 and table2 by turning "the cross filter direction" to both?

 

Best Regards

Maggie

View solution in original post

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @Anonymous

5.png

For your first case, you could modify the measure F with the following formula.

Measure =
IF (
    COUNTROWS ( VALUES ( Sheet1[name] ) ) = 1,
    [F],
    SUMX ( VALUES ( Sheet1[name] ), [F] )
)

6.png

 

 

For second case, how about editing the relationship between table1 and table2 by turning "the cross filter direction" to both?

 

Best Regards

Maggie

Anonymous
Not applicable

Works perfect.  Thank you very much

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