Forum Discussion
Creating a Sum Measure Conditionally (Revenue vs Another Accounts)
sreyes10 if you trying to get the % you need to divide the amount of a specific account into the total
i dont think i imported in the data correctly but look at my %of total measure to show you what i think you trying to do
Hello GvA ,
Thanks for your answer.
I have tried that formula, but in my data I have the same data replicated for all years, this means that the table is constantly repeated. It means that I have a columns with the period for each one.
When I used that formula, It took the whole total Revenue of all periods and not the period that I want.
- vanessafvg7 years agoCommunity Champion
- sreyes107 years agoHelper I
Sure.
This is one of my tables.
I have 15 segments with the same data, connected by date and segments.
https://1drv.ms/x/s!AvyeYvlLZCLPnnr-55SOZdHTCR--
Thank you
- vanessafvg7 years agoCommunity Champion
sreyes10 would you filter on the date in a slicer? if so you can use this
% of Total2 = CALCULATE(DIVIDE(sum(Query1[Value]), CALCULATE(sum(Query1[Value]), ALLSELECTED(Query1))))