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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
JamesTaylor92
New Member

Can you take the sum of two totals onto a separate visual?

Hi all,

 

I am relatively new to Power Bi, and I am having a bit of difficulty with something that I was hoping to pick your brains on. I was wondering if it was possible in Power Bi to take the 'Totals' of two seperate visuals (as you can see below) and have a summary of them in another visual like a keycard maybe? So in theory the 2.00 you can see in the image should say 3.00. I have tried a number of ways to do this but manually but I was wondering if there was a specific string of code that could help achieve this?
Screenshot 2022-03-10 075130.png

 

Thanks,

 

James

1 ACCEPTED SOLUTION
BA_Pete
Super User
Super User

Hi @JamesTaylor92 ,

 

You would do this with measures.

Your measures might look something like this:

 

_shift = SUM(yourTable[hoursWorked])

_shift2nd = SUM(yourTable[hoursWorked2nd])

_shiftPlusShift2nd = [_shift] + [_shift2nd]

 

 

You would use [_shift] and [_shift2nd] in your tables, and [_shiftPlusShift2nd] in your card.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




View solution in original post

3 REPLIES 3
JamesTaylor92
New Member

Thank you for your solution Pete, it was very helpful 🙂

 

James

Anonymous
Not applicable

Hi @JamesTaylor92 ,

 

Could you tell me if your problem has been solved by @BA_Pete 's suggestion? If it is, kindly Accept it as the solution. More people will benefit from it. Or if you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.

 

 

Best Regards,
Eyelyn Qin

BA_Pete
Super User
Super User

Hi @JamesTaylor92 ,

 

You would do this with measures.

Your measures might look something like this:

 

_shift = SUM(yourTable[hoursWorked])

_shift2nd = SUM(yourTable[hoursWorked2nd])

_shiftPlusShift2nd = [_shift] + [_shift2nd]

 

 

You would use [_shift] and [_shift2nd] in your tables, and [_shiftPlusShift2nd] in your card.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.

Users online (10,437)