Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Divide by total - EazyBI

Micha
Contributor
April 24, 2018

Hi!

 

I think I have a rather simple question, but still I can't seem to fix it. 

I made a pivot table and for each row there is a value. I also calculated the total of all those values together. I would like to divide the value of a row to the total of all rows. 

How do I do this?

 

Thanks in regards,

1 answer

1 accepted

0 votes
Answer accepted
Janis Plume (eazyBI)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 24, 2018

Hi Micha,

 

The exact formula might depend on the report you are creating. There is a generic approach for the calculation of the ratios to the total. The solution is by using the tuple with the "Default member" in it. Please, find here for more:
https://docs.eazybi.com/display/EAZYBI/Calculated+Members#CalculatedMembers-Tuples

For instance, if you have a measure "Your measure" showing values in the report by the members "Your dimension", the ratio calculation would be:

[Measures].[Your measure]

/

([Measures].[Your measure],

[Your dimension].DefaultMember)

 

Kindly,

Janis, eazyBI support

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events