cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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?

Regards

Shareef

2 ACCEPTED SOLUTIONS
Super User

You should use measures for this kind of calculation.

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
New Member

@Ritaf1983 Thank you so much 😍.

5 REPLIES 5
New Member

@Ritaf1983 Thank you so much 😍.

Super User

Glad to help 🙂

Regards,
Rita Fainshtein | Microsoft MVP
Super User

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.

Regards,
Rita Fainshtein | Microsoft MVP
New Member

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

Super User

You should use measures for this kind of calculation.

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

Announcements

#### Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.