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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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