cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
luisadavidson
Regular 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
Super User II
Super User II

Re: Add percentage column to table visual

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

Re: Add percentage column to table visual

Great, thanks.

 

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

 

 

Super User II
Super User II

Re: Add percentage column to table visual

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
Highlighted
luisadavidson
Regular Visitor

Re: Add percentage column to table visual

Yeah,

 

Rows: Appointment date (month)

Columns: Attendance status

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

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Top Solution Authors
Top Kudoed Authors