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

Add percentage column to table visual

Hi all,

 

Sounds like a potentially simple request, but I have a matrix in PBI and I want to add % columns for each column, including the total column. Please could you advise the best way to do this? If I need to create a measure, do I create this in the report view or data view, or edit query mode? Thanks!

 

Capture.PNG

4 REPLIES 4
tex628
Community Champion
Community Champion

I would do it as a measure in the report view.
But i would need to know exactly what you mean by percentage column if you want an example in code. 

What should they be a % of? 


Connect on LinkedIn

Great, thanks.

 

They need to be a % of the total number of appointments (which are filtered out of this view).

 

 

It should be easy to do.
Your visual, is it a matrix with appointment status as the column dimension and a countrows() as the value? 


Connect on LinkedIn

Yeah,

 

Rows: Appointment date (month)

Columns: Attendance status

Values: Count rows (named specifically for what I'm doing)

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.