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
U156531
Post Patron
Post Patron

Calculate the sum of values from three different visuals

I have three visuals which are each created from a different table. I need to add the totals from the rows in the visual together. I have not been able to accomplih this. I tried to combine the columns from the differnt tables into one visual but I'm unable to apply the correct filters to get an accurate sum of the column rows. Does anyone have a suggestion as to how to accomplish this.  I added a crude example of my visuals that I'm trying add together. I need to get the total of the three into one measure or visual so that I can display the total = 16. 

 

Visual1              Visual2               Visual3

1                          2                       1

2                          2                       1

3                          3                       1

Total 6                Total 7             Total 3

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @U156531 ,

 

Modify above formula like below:

TotalVisual1 = CALCULATE(SUM(Table1[Value1]))
TotalVisual2 = CALCULATE(SUM(Table2[Value2]))
TotalVisual3 = CALCULATE(SUM(Table3[Value3]))

vkongfanfmsft_0-1717047275160.png

Best Regards,
Adamk Kong

 

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

5 REPLIES 5
Anonymous
Not applicable

Hi @U156531 ,

 

You can try formula like below:

TotalVisual1 = SUM(Table1[Value1])
TotalVisual2 = SUM(Table2[Value2])
TotalVisual3 = SUM(Table3[Value3])
TotalAllVisuals = [TotalVisual1] + [TotalVisual2] + [TotalVisual3]

vkongfanfmsft_0-1716960080730.png

Best Regards,
Adamk Kong

 

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

Adam, I have tried your suggestion but the data from each table needs to be filtered in order to give me the correct result. I have not been able to successfully build three measures that apply the needed filters. I've tried to use the caculate function but it does accept filters based on columns from different tables. Is there another DAX function that might allow me to filter the data?

Anonymous
Not applicable

Hi @U156531 ,

 

Modify above formula like below:

TotalVisual1 = CALCULATE(SUM(Table1[Value1]))
TotalVisual2 = CALCULATE(SUM(Table2[Value2]))
TotalVisual3 = CALCULATE(SUM(Table3[Value3]))

vkongfanfmsft_0-1717047275160.png

Best Regards,
Adamk Kong

 

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

 

If you have unique table filters on individual visualisations then you need to re-write your measures and use either CALCULATE(SUM()) or SUMX(FILTER(),) to include the conditional filters into the measures.

 

Right now your filters are external and apply at the visual level. If you include them into the measures by re-writing your formulas you can then do a formula like this:

Combined Measure = [measure1] + [measure2] + [measure3]

 

ryan_mayu
Super User
Super User

you want to combine the three visuals to one? or only total to 16?

could you pls provide some sample data and explain more about this





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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!

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.