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

dynamic percentage

Hello everyone.

I am currently working with the following dynamic table.

The idea of this is that in the %Total column of Count Uid, 100% appears for the product in general, but when subdividing it by the price range, it appears to me the percentage that each range is distributed to form 100%.

Daxmon_23_0-1676847468549.png

I currently have this DAX measure, but I have not been able to discriminate each percentage in order to achieve my objective.


%Total Count Uid for Ranks =
VAR Den =
CALCULATE([Count Uid], ALLSELECTED(Compliances))

RETURN
DIVIDE([Count Uid],Den)

If anyone can help me with this I would be grateful.

Thanks in advance for any assistance.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Daxmon_23 , Try like

 

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

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Daxmon_23 , Try like

 

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

thanks for your help, that was so usefull

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.