Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |