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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

How do i take the Sum of a Calculated Measure

Hello -

I have a Measure that is calculating the number of staff required  based on call volumes and length of calls and am looking to aggregate that measure as a total for the day and eventually week.

 

My measure currently shows the daily staff required for the day's average by hour instead of the total for the day . Is there a way to take the sum of this measure? 2+7+11+12+12+11+13+13+12+10 = 93 required instead of 11


turtles25_0-1630623452790.png

 

 

In the above example i just need the bottom row to show the total for the day similar to how the # of calls is displayed.

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Try measure like

 


sumx(values(Table[Hour]),[Required])

 

or

 

sumx(summarize(Table[Hour], "_1",[Required]),[_1])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Try measure like

 


sumx(values(Table[Hour]),[Required])

 

or

 

sumx(summarize(Table[Hour], "_1",[Required]),[_1])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thank you @amitchandak 

 

The Sumx Values is doing exactly what I was looking for

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.