Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
Dear Community
In the below table, I have created a measure "% of available revenue" which divides "revenue in AoL" by "Available Revenue".
My issue that I am trying to resolve is that I wanted the total of the "% of Available Revenue" column to be 29% instead of 22% ($51,924,979/$175,498,037). The rows are filtered based on the supplier and the fiscal year.
How do I accomplish this? Thank you very much for your help.
Solved! Go to Solution.
% of Available Revenue: =
DIVIDE (
SUMX ( VALUES ( Data[Area of Law] ), [Revenue in AoL:] ),
SUMX ( VALUES ( Data[Area of Law] ), [Available Revenue:] )
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Thank you very much for your help everyone this has been resolved.
% of Available Revenue: =
DIVIDE (
SUMX ( VALUES ( Data[Area of Law] ), [Revenue in AoL:] ),
SUMX ( VALUES ( Data[Area of Law] ), [Available Revenue:] )
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi @Anonymous
It's a total issue and very common.
Check these links:
https://www.sqlbi.com/articles/obtaining-accurate-totals-in-dax/
https://www.sqlbi.com/articles/distinguishing-hasonevalue-from-isinscope/
https://www.sqlbi.com/articles/summing-values-for-the-total/
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.