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
Daxmon_23
Frequent Visitor

Porcentajes en tabla dinamica

Hola a todos.

Actualmente me encuentro trabajando con la siguiente tabla dinamica.

La idea de esta es que  en la columana de %Total de Contar Uid me aparezca  el 100% para el producto en general pero al subdividirlo por el rango de precios me parezca el porcentaje que se reparte cada rango para formar el 100%

Daxmon_23_1-1676846192552.png

Acutualmente tengo esta medida de DAX, pero no he conseguido que discrimine cada porcentaje para poder lograr mi objetivo.

 
%Total de Contar Uid para Rangos =
VAR Den =
CALCULATE([Contar Uid], ALLSELECTED(Cumplimientos))

RETURN
DIVIDE([Contar Uid],Den)
 

Si alguien me puede ayudar con esto quedo agradecido.

Gracias de antemano por cualquier ayuda.

1 REPLY 1
amitchandak
Super User
Super User

@Daxmon_23 , Try like

 

%Total Count Uid for Ranks =
WHERE The =
CALCULATE([Count Uid], ALLSELECTED())

RETURN
DIVIDE([Count Uid],Den)

 

 

Percent of Total and Percent of SubTotal https://www.youtube.com/watch?v=6jTildcV2ho
https://www.youtube.com/watch?v=cN8AO3_vmlY&t=24270s

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.