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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
ShareefHussain
New Member

PowerBi-Divide Issue

Dear All,

Getting incorrect Ratio while using the Divide formula, Seems it taking overall backend numbers not Data present on the table. Could you please help fix this issue?

ShareefHussain_0-1695454125227.png

Regards

Shareef

2 ACCEPTED SOLUTIONS

Hi @ShareefHussain 

You should use measures for this kind of calculation.
I modified it on your file, you can download it from the Link 

For more information about the differences please refer :
https://www.tpximpact.com/knowledge-hub/blogs/tech/power-bi-measures-calculated-columns/

https://www.sqlbi.com/articles/calculated-columns-and-measures-in-dax/

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

 
Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

ShareefHussain
New Member

@Ritaf1983 Thank you so much 😍.

View solution in original post

5 REPLIES 5
ShareefHussain
New Member

@Ritaf1983 Thank you so much 😍.

Glad to help 🙂

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Ritaf1983
Super User
Super User

Hi @ShareefHussain 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Good day @Ritaf1983 ,

 

Thank you for your response. Please find the link below for PowerBi file & source data in excel file for your reference.

Excel:- Excel File - Source Data

 

PowerBi:- PowerBI 

 

Based on this outcome we can find out the Rejection % in various factors, like Year, Mode, Name, etc.

 

Regards

Shareef

 

Hi @ShareefHussain 

You should use measures for this kind of calculation.
I modified it on your file, you can download it from the Link 

For more information about the differences please refer :
https://www.tpximpact.com/knowledge-hub/blogs/tech/power-bi-measures-calculated-columns/

https://www.sqlbi.com/articles/calculated-columns-and-measures-in-dax/

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

 
Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.