Forum Discussion
Divide a column value by another column in Matrix or table layout
Hello brilliant community,
I am new to Power BI. Would really appreciate if someone can help me out with this simple division of a column by another column to calculate Overdue percentage column:
My data looks like this:
Case counts Overdue cases %Overdue
50 15 30.00%
18 15 83.33%
I have tried this Overdue percent = DIVIDE ('Table'[Overduecases],'Table'[CaseCount], 0)
but it results in numerator..
6 Replies
- Greg_DecklerCommunity Champion
If you are doing that as a measure, then I believe that should be:
DIVIDE(SUM('Table'[Overduecases]),SUM('Table'[CaseCount]), 0)Then set it to a format of % in the Modeling tab.
- AnonymousNot applicable
Thanks for your reply smoupre, but I need not get the sum of the columns.
For exaple in sample data in my post %overdue for the first row is calucalted by diividing 15 by 50 & multiplying with100
- AnonymousNot applicable
You can include a column(%Overdue) and use the formula that you had used earlier but ensure to set the format for
%Overdue as Percentage and set the Default Summarization to Don't Summarize