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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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])

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])

Anonymous
Not applicable

Thank you @amitchandak 

 

The Sumx Values is doing exactly what I was looking for

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors