cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
NNaj Regular Visitor
Regular Visitor

Fundemental understanding of measures - % of total calculation

Hi All,

 

Im trying to calculate the % of total. i.e. (win value / total value)

 

Here is my table.

 

% total business.png

 

% of total business = [Win Value]/SUM(DEXTR[Absolute value of trades])
 
The card at the bottom displays the total value of trades correctly. the measure for this is:
 
Total Value of Trades = CALCULATE(SUM(DEXTR[Absolute value of trades]))
 
Why is my first row appearing as 13,250,000 / 13,250,000 (therefore showing 100%) rather than 13,250,000 / 458,000,000?
 
How can I fix this?
 
Thank you in advance for the help!
 
 
1 ACCEPTED SOLUTION

Accepted Solutions
Nathaniel_C Super Contributor
Super Contributor

Re: Fundemental understanding of measures - % of total calculation

Add ALL to Total Value of Trades = Total Value of Trades = CALCULATE(SUM(DEXTR[Absolute value of trades]))

Total Value of Trades = CALCULATE(SUM(DEXTR[Absolute value of trades]),ALL(DEXTR))

Hi @NNaj ,

Try adding ALL to your measure.  Right now on each line this is being filtered.
Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel

View solution in original post

1 REPLY 1
Nathaniel_C Super Contributor
Super Contributor

Re: Fundemental understanding of measures - % of total calculation

Add ALL to Total Value of Trades = Total Value of Trades = CALCULATE(SUM(DEXTR[Absolute value of trades]))

Total Value of Trades = CALCULATE(SUM(DEXTR[Absolute value of trades]),ALL(DEXTR))

Hi @NNaj ,

Try adding ALL to your measure.  Right now on each line this is being filtered.
Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel

View solution in original post

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 6 members 1,397 guests
Please welcome our newest community members: