cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Anonymous
Not applicable

% Total of a measure not calculating correctly

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.

 

AndrewPanchal_0-1641854161884.png

 

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Picture2.png

 

% 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.


Go to My LinkedIn Page


View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Thank you very much for your help everyone this has been resolved.

Jihwan_Kim
Super User
Super User

Picture2.png

 

% 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.


Go to My LinkedIn Page


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/

 

 

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors