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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Calculate some from a column and a measure

Hi I'm trying to calculate the Pro Bono Hours from a Mesuare that calculates the YTD Non-Billable Hours

 

kari1282_0-1628471218081.png

 

1 ACCEPTED SOLUTION

Hi,

The SUM() function taken only a column as an input, not a measure.  Try it like this

=calculate([YTD Non-Billable Hours],


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
ebeery
Solution Sage
Solution Sage

@Anonymous can you be a little more clear on what exactly you're trying to achieve, beyond what you're showing in your screenshot?

 

Do you want to always only want to return the "Pro Bono" category?  If so, using a CALCULATE() function is probably going to be the way to go.

Anonymous
Not applicable

Yes, I'm looking for the total of Pro Bono Category

 

When I start the formula "Calculate(Sum( ", This is where I get stuck the measure "YTD Non-Billable Hours", does not show up. 

Hi,

The SUM() function taken only a column as an input, not a measure.  Try it like this

=calculate([YTD Non-Billable Hours],


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.