Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi All,
Im trying to calculate a percentage based off two other columns in my Power BI report. I have created a column called the Recovery Percentage to divide the Standard Rated Net by the Net. The Standard Rated Net column has been calculated using the formula:
The Reporting Month has been calculated using the formula:
However when I change the Reporting Month filter the percentage doesnt seem to change. Please the attached photos.
This is correct when all months are accounted for.
Once I have selected multiple months the percentage is clearly wrong.
The data inputted is as follows
Any help would be appreciated and thank you in advance!
Solved! Go to Solution.
Hi @I-Jay-I ,
I suggest you to create a measure of Recovery Percentage, then it will work. The following is my sample you can have a try.
The calculated column of Standard Rated Net and Reporting Month are both used your formula.
Standard Rated Net = IF('Sheet1'[Rate]="SR",'Sheet1'[Net],0) Reporting Month = EOMONTH(Sheet1[Date],0)
Create a measure.
Recovery Percentage = DIVIDE(SUM(Sheet1[Standard Rated Net]),SUM(Sheet1[Net]))
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @I-Jay-I ,
I suggest you to create a measure of Recovery Percentage, then it will work. The following is my sample you can have a try.
The calculated column of Standard Rated Net and Reporting Month are both used your formula.
Standard Rated Net = IF('Sheet1'[Rate]="SR",'Sheet1'[Net],0) Reporting Month = EOMONTH(Sheet1[Date],0)
Create a measure.
Recovery Percentage = DIVIDE(SUM(Sheet1[Standard Rated Net]),SUM(Sheet1[Net]))
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Xue Ding,
Thanks for this! It appears I was using new column instead of new measure.
Thanks!
Jay
User | Count |
---|---|
140 | |
113 | |
104 | |
76 | |
63 |
User | Count |
---|---|
135 | |
126 | |
110 | |
70 | |
61 |