Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Unique value Index (duplicates are same)

How would I create a unique value index with Dax code? I am in the process of creating a ragged heirachy using a Tabular model so it has to be done using DAX code (I can't use PQ, etc). What I am loo...
  • BeaBF's avatar
    4 years ago

    Anonymous It seems simpler to me like this:

    Index Column = RANKX ( Table, Table[Item],, ASC, DENSE )

     

    Try it!

    B.