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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
sondhboyz
Frequent Visitor

Percentage with number in table visual

I have sample dataset of patients who have done treatment from hospitals
patient no and category

patient number is a patient unique number
category is of cash,insurance etc

i want to create new table in visual form with percentage. pls check two table visual

like if cash Self pay count is 507 (count of patient number), and percentage of self pay is 42.71% (G. Total Percentage).

i want to create new visual with percentage in single table

e.g self pay - 507(42.71%)

please helpTEST.png

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@sondhboyz , Assuming this a matrix visual a and No of the patient is the measure

 

divide([No of patient], calculate([No of patient], removefilters(Table[category]) ) )

 

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

1 REPLY 1
amitchandak
Super User
Super User

@sondhboyz , Assuming this a matrix visual a and No of the patient is the measure

 

divide([No of patient], calculate([No of patient], removefilters(Table[category]) ) )

 

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.