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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
alexbalazsalex
Helper IV
Helper IV

Measures

Dear all,

 

Coming back with another Question:

 

lets say i have the following measure :

 

ActualQTD = CALCULATE([Actual], DATESQTD(Calendar[Date]))

 

Can i calucle the QTD for More columns within the  same measure? lets say actual is invoiced amount , but want it to calculate also pieces or tons without having to create another measure for each one:

 

Like below :

ActualQTD = CALCULATE([Actual], DATESQTD(Calendar[Date])) & CALCULATE([Pieces], DATESQTD(Calendar[Date])) & CALCULATE([ETC..], DATESQTD(Calendar[Date])) 

 

is it a way around it  as with & dont  think it will work

 

1 REPLY 1
v-ljerr-msft
Employee
Employee

Hi @alexbalazsalex,

Can i calucle the QTD for More columns within the  same measure? lets say actual is invoiced amount , but want it to calculate also pieces or tons without having to create another measure for each one:

 

Like below :

ActualQTD = CALCULATE([Actual], DATESQTD(Calendar[Date])) & CALCULATE([Pieces], DATESQTD(Calendar[Date])) & CALCULATE([ETC..], DATESQTD(Calendar[Date])) 


So what result will the measure finally return? QTD for [Actual]+[Pieces]+[ETC..]? QTD for [Actual]*[Pieces]*[ETC..]? Or anything else?

 

Could you be more precisely with requirement by posting some sample data and the expected result, so that we can better assist on this issue? Smiley Happy

 

Regards

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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