cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper II
Helper II

Ayuda con rankx(); Lazos no entiendo el origen de

Hola, estoy tratando de ejecutar la siguiente medida de rankx simple en un objeto visual de tabla.

Undergrounding Priority Rank = 

RANKX(
    ALL('tablename'),
    CALCULATE([Undergrounding Priority Score]),
    ,
    ASC
)

Pero colocar la medida en la tabla conduce a lazos desde los que no puedo imaginar el origen, como se muestra a continuación.

rankx screenshot.png

¿Puede alguien ayudarme? Gracias.

2 ACCEPTED SOLUTIONS
Super User IV
Super User IV

@ashamsuzzoha ,

Inténtalo como, si esto puede funcionar

Undergrounding Priority Rank = 

RANKX(
    ALL('tablename'[Feeder]),
    CALCULATE([Undergrounding Priority Score]),
    ,
    ASC
)

Para rango Referido: https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

Memorable Member
Memorable Member

Hola @ashamsuzzoha ,

Por favor, intente utilizar la siguiente medida. Funciona en mi escritorio:

Measure 15 = RANKX(ALL('Table (4)'[Feeder]),[Your Measure],,ASC)

Aiolos Zhao





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

5 REPLIES 5
Memorable Member
Memorable Member

Hola @ashamsuzzoha ,

Por favor, intente utilizar la siguiente medida. Funciona en mi escritorio:

Measure 15 = RANKX(ALL('Table (4)'[Feeder]),[Your Measure],,ASC)

Aiolos Zhao





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Super User IV
Super User IV

@ashamsuzzoha ,

Inténtalo como, si esto puede funcionar

Undergrounding Priority Rank = 

RANKX(
    ALL('tablename'[Feeder]),
    CALCULATE([Undergrounding Priority Score]),
    ,
    ASC
)

Para rango Referido: https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

@AiolosZhao @amitchandak Gracias, pero eso no parece haber ayudado.

Ahora todos los rangos son 1.

Screenshot 2020-09-14 230111.png

Hola @ashamsuzzoha ,

1. ¿Es Feeder una columna normal?

2. ¿Podría mostrarme la medida de la puntuación prioritaria de subterráneo?

3. Si estas columnas no están en una tabla, ¿podría mostrarme el modelo de datos?

Gracias.

Aiolos Zhao





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




@AiolosZhao @amitchandak

La medida Puntuación prioritaria es una ponderación de las medidas de rango individuales en las columnas de mi tabla, de la siguiente manera:

Undergrounding Priority Score = 

[rank_column A] * weight A + 
[rank_column B] * weight B + 
[rank_column C] * weight C + 
[rank_column D] * weight D + 
[rank_column E] * weight E + 
[rank_column F] * weight F + 
[rank_column G] * weight G

where the sum of weights is 1

así que tuve que corregir las medidas de rango individuales con el código que sugieres, y funcionó.Screenshot 2020-09-15 153537.png

Helpful resources

Announcements
secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

Microsoft Ignite

Microsoft Ignite with Arun Ulag

Featured Session: Drive Data Culture with Power BI- Vision, Strategy & Roadmap. Register here https://myignite.microsoft.com #MSIgnite #PowerPlatform #Power BI ​

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.