Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Max results in infinity

Hi I am trying to create the max value for my dataset, my DAX calc results in "Infinity".  I have created a measure to determine the Density of my dataset for each "Entry":  Density = CALCULATE(...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi Anonymous 

    You can try the following measure

    MaxDensity =
    VAR a =
        SUMMARIZE ( ALLSELECTED ( Sheet1 ), [Entry], "Density", [Density] )
    RETURN
        MAXX ( a, [Density] )
    

    Best Regards!

    Yolo Zhu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.