Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi, I have created a P&L statement using the matrix visual.
I have one table containing the actual results and another table containing the P&L template.
In the matrix I would like to include a column with each line item as a % of total revenue, however the formula I use only works next to the total revenue line, see below.
My formula is
Solved! Go to Solution.
hi, @JNcr
You need to adjust the Total revenue (£'000) by ALL Function or ALLSELECTED Function as below:
Total revenue (£'000) = CALCULATE( [Actuals (£'000)] , FILTER(ALL(Accounts) , Accounts[Source] = "Actual") , FILTER(ALL(Accounts) , Accounts[Name] = "Revenue" ))
If not your case, please share your sample pbix file and expected output.
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Regards,
Lin
hi, @JNcr
You need to adjust the Total revenue (£'000) by ALL Function or ALLSELECTED Function as below:
Total revenue (£'000) = CALCULATE( [Actuals (£'000)] , FILTER(ALL(Accounts) , Accounts[Source] = "Actual") , FILTER(ALL(Accounts) , Accounts[Name] = "Revenue" ))
If not your case, please share your sample pbix file and expected output.
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Regards,
Lin
Thanks Lin, a great help
User | Count |
---|---|
84 | |
73 | |
67 | |
42 | |
35 |
User | Count |
---|---|
109 | |
56 | |
52 | |
45 | |
43 |