Forum Discussion

Fernando232's avatar
Fernando232
Regular Visitor
2 years ago
Solved

Indice dinamico

Hola, Por favor quisiera ayuda para poder crear una columna que funcione como un indice dinamico en mi reporte.  Por ejemplo esta seria mi tabla y lo resaltado el indice que quiero implementa...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi, Fernando232 

    Thanks for the reply from lbendlin , please allow me to provide another insight:

    Based on your information, I create a sample table:

     

    You can create a measure to sort by one of your columns, and I'm just an example of how you can do it:

     

    Index = RANKX(ALLSELECTED('Table'),CALCULATE(SUM('Table'[EDAD])),, DESC, Dense)

     

    Regardless of the next selection, it will be sorted from 1.

     

     

    How to Get Your Question Answered Quickly 

    Best Regards

    Yongkang Hua

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