Forum Discussion
pdemontigny
9 years agoRegular Visitor
Calculated Column: % of Total
I'm trying to recreate an Excel dashboard in Power BI. Part of what I need to do is create a table or matrix (not sure which is best) that shows premium by segment, which I've done. Now I want to cre...
- 9 years ago
So you are saying that you don't want slicer to filter out the total data? In that case, you need to create calculated field.
For that you need to create measure, let's say it is called Total Sales,
Total Sales = CALCUALTE(SUM(Sales[Revenue]), ALL(Sales))
% Revenue = SUM(Sales[Revenue])/[Total Sales]
This is an idea, if you need further help, let me know.
Thiyagu
Helper III
9 years agoHi pdemontigny,
You can achieve by creating a new calculated column with following formula,
Premium Dist = DIVIDE(Question[Enforce Premium],SUM(Question[Enforce Premium])).
Let me know, if you have any queries.
parry2k
Super User
9 years agoThere is inbuild feature in PowerBI to calculate the % of Grand Total.
Here is the link to more information https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-may-update-feature-summary/
Take a look at Analytic section
ANALYTICS
- Quick Calcs – % of grand total
I hope it is helpful.
Thanks,
P