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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Redondear solo el valor total en la tabla

Hola a todos

Estoy mostrando un objeto visual de tabla con valores %. Mi requisito es redondear el valor % solo para el valor total, pero no para los valores de fila.

¿Puede alguien que pls me sugiera cómo lograr esto.

Captura de pantalla adjunta como referencia.

TiaMicrosoftTeams-image.png

4 REPLIES 4
amitchandak
Super User
Super User

@vamshik153, puede crear fórmulas usando isfiltered o isinscope y tener un redondeo diferente para aquellos que usan la función redonda

https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/

Pero dudo que la propiedad redonda lo sobrescriba. Mantenga auto y compruebe

Greg_Deckler
Super User
Super User

Esto parece un problema de totales de medida. Muy común. Vea mi post al respecto aquí: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376

Además, esta Medida Rápida, Medir Totales, La Palabra Final debe obtener lo que necesita:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907

Básicamente, eso demuestra cómo saber si está en una fila total o no y, a continuación, puede implementar ROUND si lo está.

Esto también puede ayudar: https://community.powerbi.com/t5/Quick-Measures-Gallery/Matrix-Measure-Total-Triple-Threat-Rock-amp-...


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hey @Greg_Deckler y @amitchandak
En la captura de pantalla adjunta, quiero redondear el valor total de la columna "PERCENT OF TOTAL"

@vamshik153 Correcto, así que esencialmente:

Medida: IF(HASONEVALUE([PAYEE]),[Medida actual],ROUND([Medida actual],2))


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors