cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Alealmiron_ Frequent Visitor
Frequent Visitor

Filtros sobre cambio de datos a visualizar

Buenas noches,
Alguien me puede ayudar con la siguiente consulta, quiero saber como hago para que en mis vistas creadas yo pueda tener un filtro que me deje cambiar dependiendo de que unidad de medida que quiero ver, en este caso manejo para ver los datos % en Cajas, Toneladas o Euros,
1 ACCEPTED SOLUTION

Accepted Solutions
Microsoft v-cherch-msft
Microsoft

Re: Filtros sobre cambio de datos a visualizar

Hi @Alealmiron_

 

You may create a measure with FORMAT function.Attached the sample file for reference.Here is the Pre-Defined Numeric Formats for the FORMAT function.

Measure =
IF (
    SELECTEDVALUE ( Slicer[Format] ) = "Percent",
    FORMAT ( CALCULATE ( SUM ( Table1[Value] ) ), "#%" ),
    CALCULATE ( SUM ( Table1[Value] ) )
)

Regards,

Cherie

 

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Microsoft v-cherch-msft
Microsoft

Re: Filtros sobre cambio de datos a visualizar

Hi @Alealmiron_

 

You may create a measure with FORMAT function.Attached the sample file for reference.Here is the Pre-Defined Numeric Formats for the FORMAT function.

Measure =
IF (
    SELECTEDVALUE ( Slicer[Format] ) = "Percent",
    FORMAT ( CALCULATE ( SUM ( Table1[Value] ) ), "#%" ),
    CALCULATE ( SUM ( Table1[Value] ) )
)

Regards,

Cherie

 

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors