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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
ngct1112
Post Patron
Post Patron

Parámetro de BI Desktop con columnas

Hola, me gustaría crear un parámetro como segmentación maestra para controlar la página en BI

¿Es posible que podría tener una cortadora para seleccionar 2 columnas - 1." Beneficio". Pass%" para influir en la medida como

measure = CALCULATE(SUMX('Table','Table'[Profit]),FILTER('Table','Table'[PARAMETER_COLUMN]=>5%

Aquí está el conjunto de datos que tengo:

IdBeneficio% de beneficioPasador %
1102%10%
254%40%
325%22%
461%1%
51224%50%
611%20%
76658%3%
854%20%
911%3%
1000%55%
114512%40%
124512%56%
1300%2%
1455%6%
1586%10%

Gracias

4 REPLIES 4
amitchandak
Super User
Super User

@ngct1112 , Compruebe el parámetro what-if puede ayudar

https://docs.microsoft.com/en-us/power-bi/desktop-what-if

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

@amitchandak @harshnathani
Pero es posible que podría tener un parámetro no un rango de números, sino Text(Columns).

Me parece que no pude poner el texto en el parámetro What-if de alguna manera.

Con la medida, la medida podría cambiarse dinámicamente con el parámetro, haciendo que la fórmula sea así cuando elijo en la segmentación,

measure = CALCULATE(SUMX('Table','Table'[Profit]),FILTER('Table','Table'[PARAMETER_COLUMN]=>5%))

--> measure = CALCULATE(SUMX('Table','Table'[Profit]),FILTER('Table','Table'[Pass%]=>5%))
--> measure = CALCULATE(SUMX('Table','Table'[Profit]),FILTER('Table','Table'[Profit%]=>5%))

Parameter.JPG

Gran agradecimiento si hay algún consejo

Anonymous
Not applicable

Hola @ngct1112 ,

El parámetro what-if solo se puede utilizar para datos numéricos. ¿Puedo saber cuál es el resultado final que quieres? Es el filtro de datos por la segmentación de datos para (Beneficio %>5% ? Pase %>50) o (Beneficio %>50 && Pasar %>50)? ¿Y cuáles son los parámetros de texto que mencionaste? ¿Eso es por el campo de hechos en la tabla o una medida?

Saludos

Rena

harshnathani
Community Champion
Community Champion

Hola @ngct1112 ,

No muy claro

Puedes intentarlo

measure =
CALCULATE (
    SUM ( 'Table'[Profit] ),
    FILTER (
        'Table',
        'Table'[PARAMETER_COLUMN] >= "5%"
    )
)


saludos

Harsh Nathani


Apreciar con un Kudos!! (Haga clic en el botón Pulgares arriba)

¿He respondido a tu pregunta? ¡Marca mi puesto como una solución!

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.