cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Agmsf
New Member

RANKX no da el resultado esperado

Hola,

 

Estoy teniendo problemas a la hora de tirar un ranking de ventas (adjunto foto). 

No entiendo por qué me devuelve varios "1" y varias posiciones repetidas. ¿Alguie sabe a qué se debe?

 

Gracias de antemano.

Rank problem.png

1 ACCEPTED SOLUTION

This issue is now solved as the "AdventureWorks" database has duplicated product names with different IDs...

View solution in original post

4 REPLIES 4
Syndicate_Admin
Administrator
Administrator

RANKX(Todo('Tabla'[Producto]),[suma de la venta],,DESC,Denso)
De hecho, llamaste a la tabla completa en lugar de a la columna de producto.

Syndicate_Admin
Administrator
Administrator

Pruebe esto:

RANKX(Todo('Tabla'[Producto]),[suma de la venta],,DESC,Denso)

Hi haseebsuhail943,

 

Thanks for your prompt reply, but it didn't work:

 

Rank problem2.png

This issue is now solved as the "AdventureWorks" database has duplicated product names with different IDs...

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

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

Top Solution Authors