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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Problemas de exportación

Hola amigos, he desarrollado uno de los informes filtrados TOP 50 registros en el informe, pero cuando exporto a Excel está mostrando 58 registros, cómo superar para mostrar sólo 50 registros en lugar de 58 registros.

7 REPLIES 7
amitchandak
Super User
Super User

@Narayana3635 , Crear rango

Para el rango Refiera estos links
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns
https://radacad.com/how-to-use-rankx-in-dax-part-3-of-3-the-finale

Use el empate de break para un rango único

https://databear.com/how-to-use-the-dax-rankx-function-in-power-bi/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@Narayana3635 ¿Hay corbatas en los datos cuando usas Top 50?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

sí, tenemos

@Narayana3635 Creo que debido a los lazos se obtiene más filas, usted tiene que utilizar la función RANK y romper lazos, leer más aquí cómo se puede hacer eso.

Me gustaría elogiossi mi solución me ayudó.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para darle a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

v-alq-msft
Community Support
Community Support

Hola, @Narayana3635

Me gustaría sugerirle que cree dos medidas y un parámetro what-if. Creé datos para reproducir tu escenario.

Mesa:

b1.png

b2.png

Puede crear dos medidas como se indica a continuación.

Rank = 
RANKX(
    ALL('Table'),
    CALCULATE(SUM('Table'[Score]))
)

Isdisplay = 
IF(
    [Rank]<=SELECTEDVALUE(Parameter[Parameter]),
    1,0
)

A continuación, debe colocar 'Isdisplay' en el filtro de nivel visual para mostrar el resultado.

b3.png

b4.png

Saludos

Allan

Si este post ayuda,entonces por favor considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

Anonymous
Not applicable

Oye, ¿qué pasa si el parámetro está funcionando, pero ya que mi fuente es el modelo tabular por lo que no puedo crear . Ven al punto de medida cómo podemos pasar varios parámetros y mostrar siempre el valor es cero si hago clic en el elemento bajo parámetro no está funcionando.

Top 50ranks-RANKX(ALL('Datos de hecho'),CALCULATE([Importe pagado])
isdisplay á IF([Top 50ranks]<-VALUE(SELECTEDVALUE('Unidad de negocio'[Unidad de negocio ])),1,0)
2.PNG

Hola, @Narayana3635

Puede intentar reemplazar 'SELECTEDVALUE('Business Unit'[Business Unit ])' por una expresión equivalente como se indica a continuación.

var _businessunit = 
IF(
     HASONEVALUE('Business Unit'[Business Unit ]), 
     VALUES('Business Unit'[Business Unit ])
)

Saludos

Allan

Si este post ayuda,entonces por favor considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Kudoed Authors