Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

maximum value from table

Hi all, can anyone help me, i have been trying to extract the maximum value from this table, yet i was unable to do so. Is there any tricks or code that could help ? Thanks  
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Anonymous ,

    You can try to update the formula of measure [maxxx] as below and check whether you can get the correct value. Please find the details in the attachment.

     

    maxxx = 
    CALCULATE (
        MAX ( 'energykwh energydata'[energydata_value] ),
        ALLSELECTED ( 'energykwh energydata' )
    )

     

    Best Regards