Forum Discussion
Y-axis Percentage Display
Hello everyone,
Could you please advise me on how to add a bit of space before the percentage? I've tried adding space before the percentage value and other methods, but they haven't worked for the start week. Interestingly, it seems to work for the start week but not for the end week. Logic (Last 5 weeks)
Thanks!
Hi Maivish_Mirza - Create a below measure with format function
Change the table and columns as per your reference: highlighted one is important
ActualVsBudgetVariancePct =VAR percentage = DIVIDE([Varience], CALCULATE(SUM(FAB[Amount]),FAB[Category]="Actual"), 0)RETURN" " & FORMAT(percentage, "0.00 %")Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!- Anonymous2 years ago
Thanks for the reply from rajendraongole1, please allow me to provide another insight:
Regarding the issue you raised, my solution is as follows:
1.First I have created the following table and the column names and data are the data you have given:
2.Second, select the "Column tool" and, of course, measure values, calculate columns as well: as shown below:
3.Then find "format" and fill in the blank box and change the format to:
# %4.Here are the final results we hope will help you:
Please find the attached pbix relevant to the case.Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
4 Replies
- rajendraongole1
Super User
Hi Maivish_Mirza - Create a below measure with format function
Change the table and columns as per your reference: highlighted one is important
ActualVsBudgetVariancePct =VAR percentage = DIVIDE([Varience], CALCULATE(SUM(FAB[Amount]),FAB[Category]="Actual"), 0)RETURN" " & FORMAT(percentage, "0.00 %")Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!! - Maivish_MirzaRegular Visitor
Hi, rajendraongole1
---
Thanks for the quick advice. However, I'm facing an issue where the percentage starts at the beginning of the week and ends at the end of the last 5 weeks in an area chart.
- rajendraongole1
Super User
Hi Maivish_Mirza - Can you please provide with some examples?
- AnonymousNot applicable
Thanks for the reply from rajendraongole1, please allow me to provide another insight:
Regarding the issue you raised, my solution is as follows:
1.First I have created the following table and the column names and data are the data you have given:
2.Second, select the "Column tool" and, of course, measure values, calculate columns as well: as shown below:
3.Then find "format" and fill in the blank box and change the format to:
# %4.Here are the final results we hope will help you:
Please find the attached pbix relevant to the case.Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.