Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I have created this Measure statement:
Generated Energy (KWH) = CALCULATE(max(Readings[Reading]),Readings[Measurement Point Description]="Generated KWH") - CALCULATE(min(Readings[Reading]),Readings[Measurement Point Description]="Generated KWH")
But also I need to add grouping to this Measure "Generated Energy (KWH)" to be calculated Group by Specific Field
Solved! Go to Solution.
Hi @dezzat,
I need to add grouping to this Measure "Generated Energy (KWH)" to be calculated Group by Specific Field
try this:
Generated Energy (KWH) = CALCULATE(( CALCULATE(max(Readings[Reading]),Readings[Measurement Point Description]="Generated KWH") - CALCULATE(min(Readings[Reading]),Readings[Measurement Point Description]="Generated KWH") ); //your calculation ALLEXCEPT(Readings;Readings[Specific_Field]) // Group field )//top level calculate
... and Merry Christmas.
Best regs
Hi @dezzat,
I need to add grouping to this Measure "Generated Energy (KWH)" to be calculated Group by Specific Field
try this:
Generated Energy (KWH) = CALCULATE(( CALCULATE(max(Readings[Reading]),Readings[Measurement Point Description]="Generated KWH") - CALCULATE(min(Readings[Reading]),Readings[Measurement Point Description]="Generated KWH") ); //your calculation ALLEXCEPT(Readings;Readings[Specific_Field]) // Group field )//top level calculate
... and Merry Christmas.
Best regs