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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Anonymous
Not applicable

How to sum up a measure calculated by other measures?

Hi I have created a measure for [TTL score] = [A Score]+[B Score]+[C Score], while [A Score], [B Score] and [C Score] are all measures. All of [A Score], [B Score] and [C Score] are calculated dynamically. That is, for example, depending on the % reach rate: if >10%, score 10, >20%, score 20....

 

So far, for each target, the scores are well shown as below

TargetA scoreB scoreC scoreTTL score
660000512010304080
66000051228203058
660000512815302065
66000051656402066
660000518710103050

 

However, I also need to know the overall average TTL score, and found can't simply apply AVERAGEX or SUMX to [TTL score] for calculation. Supposedly, it's because the measures are dynamic based on the information from each row and thus can't calculate the overall performance in this way....Is anyone has a solution for this??? Many many thanks 😄

1 ACCEPTED SOLUTION
Anonymous
Not applicable

hi @v-chuncz-msft 

 

thanks!! I've figured it out and ended up using the same solution as you suggested 😄

Overall TTLScore =
SUMX(SUMMARIZE('Table','Table'[Supplier Code],'Table'[Suppliers],"TTL",[Total Score]),[TTL])
 
Still, thank you very much for the help!

View solution in original post

4 REPLIES 4
Gopal30
Helper I
Helper I

You can try using Calculate function which changes it to filter context. something like this :

Calculate([TTL score])

Anonymous
Not applicable

hi @Gopal30 

 

thanks for the suggestion!!! but still it doesn't work...

Let me make my case more clear. The [total score] is applied in a table with other info, like below

No.Supplier CodeTotal Score
1660000531162
2660000727053
3660000646314
4660000541244
5660000576636
6660000545144
7660000518786

 

But if i want to show the total (i.e. the aggregated=sum(No1~No7)), it'll go wrong with error "cannot display the visual"...I also tried to turn on the "total" function in Format, but it's the same error...please kindly help, thanks 🙂

@Anonymous ,

 

You may refer to the post below.

https://community.powerbi.com/t5/Desktop/Sum-of-values-in-a-measure-with-divide-measure/m-p/296768#M130947

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

hi @v-chuncz-msft 

 

thanks!! I've figured it out and ended up using the same solution as you suggested 😄

Overall TTLScore =
SUMX(SUMMARIZE('Table','Table'[Supplier Code],'Table'[Suppliers],"TTL",[Total Score]),[TTL])
 
Still, thank you very much for the help!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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