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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
tarrantmark
Regular Visitor

I STILL cant get percentages to work!!!!

Hi - I have looked through numerous forum posts and you tube videos but just cant get a % calculation to work! 

 

Basically I have an SQL view that lists the POs , SKU, Product Group , Line Quantity, Outstanidng Quantity. I can summarise in Power BI as a Matrix table as follows

 

tarrantmark_1-1655467737338.png

All I want to be able to do add a column that shows % outstanding vs the LineQuantity. Eg the last one on the list is 100% outstanding.

 

When I try a New Measure I get the error below? It just never seems to recognise the column names? 

 

tarrantmark_2-1655467889674.png

I assume I need to copy this table in some way to define the columns but I dont know?! 

 

Help!! 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @tarrantmark ,

Please try to update the formula of your measure [%Outstanding] as below:

%Outstanding = DIVIDE ( SUM ( 'tablename'[LineQuantity] ), SUM ( 'tablename'[Outstanding] ) )

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and yourexpected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi  @tarrantmark ,

Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.

Best Regards

Anonymous
Not applicable

Hi @tarrantmark ,

Please try to update the formula of your measure [%Outstanding] as below:

%Outstanding = DIVIDE ( SUM ( 'tablename'[LineQuantity] ), SUM ( 'tablename'[Outstanding] ) )

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and yourexpected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

tamerj1
Super User
Super User

Hi @tarrantmark 
You have first to add LineQty and OutstandingQty as measures. Simple SUM ( TableName[CoulmnName] ). Then you can easily DIVIDE ( [LineQty], [OutstandingQty] ). However, not sure what did you exactly mean by "Eg the last one on the list is 100% outstanding."?

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.