Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Syndicate_Admin
Administrator
Administrator

Asignar valor a cada ocurrencia

Hola a todos.

Tengo una tabla como esta:

ID - MáquinaFaseMedirValor
86081 - 17 09 01CCW CUEPAR14,02000046
86081 - 17 09 01CCW CUEACTUAL1,409999967
86081 - 17 09 01CCW CUEACTUAL1,549999952
86081 - 17 09 01CCW CUEVELOCIDAD2,059999943
86081 - 17 09 01CCW CUEVELOCIDAD8,5
86081 - 17 09 01CW CUEACTUAL13,43000031
86081 - 17 09 01CW CUEVELOCIDAD1,480000019
86081 - 17 09 01CW CUEVELOCIDAD1,429999948
86081 - 17 09 01CW CUEVELOCIDAD3,730000019
86081 - 17 09 01CW CUEVELOCIDAD23,23999977
86082 - 17 09 01CCW CUEPAR12,31999969
86082 - 17 09 01CCW CUEACTUAL1,440000057
86082 - 17 09 01CCW CUEACTUAL1,330000043
86082 - 17 09 01CCW CUEVELOCIDAD6,619999886
86082 - 17 09 01CCW CUEVELOCIDAD59,13000107
86082 - 17 09 01CW CUEPAR13,55000019
86082 - 17 09 01CW CUEPAR1,370000005
86082 - 17 09 01CW CUEACTUAL1,399999976
86082 - 17 09 01CW CUEACTUAL2,220000029
86082 - 17 09 01CW CUEACTUAL9,359999657

que contiene los datos registrados por una máquina de prueba.

Cada registro se identifica mediante un ID (ID de columna - Máquina). Para cada fase (SPUNTO CW, SPUNTO CCW) hay mediciones que se pueden repetir (COPPIA, CORRENTE, VELOCITA'...).

Mi intención es asignar un número progresivo a las mediciones, agrupándolas por fase y por ID de máquina. Este es el resultado ideal:

ID - MáquinaFaseMedirValorÍndice
86081 - 17 09 01CCW CUEPAR14,020000461
86081 - 17 09 01CCW CUEACTUAL1,4099999671
86081 - 17 09 01CCW CUEACTUAL1,5499999522
86081 - 17 09 01CCW CUEVELOCIDAD2,0599999431
86081 - 17 09 01CCW CUEVELOCIDAD8,52
86081 - 17 09 01CW CUEACTUAL13,430000311
86081 - 17 09 01CW CUEVELOCIDAD1,4800000191
86081 - 17 09 01CW CUEVELOCIDAD1,4299999482
86081 - 17 09 01CW CUEVELOCIDAD3,7300000193
86081 - 17 09 01CW CUEVELOCIDAD23,239999774
86082 - 17 09 01CCW CUEPAR12,319999691
86082 - 17 09 01CCW CUEACTUAL1,4400000571
86082 - 17 09 01CCW CUEACTUAL1,3300000432
86082 - 17 09 01CCW CUEVELOCIDAD6,6199998861
86082 - 17 09 01CCW CUEVELOCIDAD59,130001072
86082 - 17 09 01CW CUEPAR13,550000191
86082 - 17 09 01CW CUEPAR1,3700000052
86082 - 17 09 01CW CUEACTUAL1,3999999761
86082 - 17 09 01CW CUEACTUAL2,2200000292
86082 - 17 09 01CW CUEACTUAL9,3599996573

¿Puede ayudarme con la fórmula DAX que se insertará en la columna Índice?

¡Gracias de antemano!

este es el archivo de Excel que utilicé como fuente de datos: https://www.dropbox.com/scl/fi/203wfw7qxyuq2gmgmyo5o/Machine.xlsx?dl=0&rlkey=ti5bj3w2a3lj4u1p6ygmjfn...

0 REPLIES 0

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.