cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
StephanieDujard
New Member

How to calculate a percentage for each line in a table based on a measure

Hi

 

I would like to calculate the percentages in PBI below. This is the example of the data in Excel.

The red percentage is the blue number (the costs) divided by the revenue.

Each line has another number, and each month the revenue is different. How do I solve this?

 

Thank you

 

1 REPLY 1
lbendlin
Super User
Super User

Please provide sanitized sample data that fully covers your issue. Paste the data into a table in your post or use one of the file services. Please show the expected outcome.

Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Top Solution Authors