Forum Discussion

davorgom's avatar
davorgom
Frequent Visitor
6 years ago
Solved

Help

  Hello everyone. I have been trying to subtract values ​​from a table with a fixed measurement (first in the ranking, second, third ...), but I can't. I would like to know if any of you can help ...
  • nandukrishnavs's avatar
    nandukrishnavs
    6 years ago

    davorgom  if you want to compare with 6th position,  This should be calculated column, not measure

     

     

    Compare 6th Position = 
    var _sub=FILTER('Table','Table'[Position]=6)
    var _2max=MAXX(_sub,[Distance])
    var result= _2max-'Table'[Distance]
    return result

     

    This should be calculated column, not measure.

     

    Can you provide your original data, so that i can test it.

    Also I have modified my reply a little bit. Please try again.



    Did I answer your question? Mark my post as a solution!
    Appreciate with a kudos
    🙂