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
Anonymous
Not applicable

Percentage Calculation from two Calculated Column

 

 

Hi team,

I'm having two calculated columns  -

 - Completed Journey

- Total Journey

 

I just wanted to write Dax to calculate percentage as below -

PercentShow = 'Journey'[completed journey]/Journey'[completed journey]

 Or

PercentShow = Divide('Journey'[completed journey],Journey'[completed journey],0)

 

But It is NOT calculating properly.

PercentIssue.JPGNeed your help urgently on this please.

 

Regards,

Samrat

1 REPLY 1
JosefPrakljacic
Solution Sage
Solution Sage

Hello sam_ach,

 

you must not use calculated columns to calculate percenteges because they add up in the end resulting in such high numbers.

 

You need to use a measure.

Divide(SUM('Journey'[completed journey]),SUMX(ALL(Journey),Journey'[completed journey]),0)

Maybe you don't need the ALL but I don't know what you actually are trying to achieve.

Here is a good article about the diffrence regarding calc columns & measures

 

If this post was helpful may I ask you to mark it as solution and give it some kudos?

Have a nice day!

BR,
Josef

 

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.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.