Forum Discussion
sreyes10
7 years agoHelper I
Creating a Sum Measure Conditionally (Revenue vs Another Accounts)
Dear Power BI Experts, I'm trying to create a New Measure where I have a constant value which is the Revenue. My idea is to find what is the percentage of each accounting cell against the Revenue....
sreyes10
7 years agoHelper I
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.
vanessafvg
7 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))))- sreyes107 years agoHelper I
I will filter the period and the account that I want to know the %.
There is a way to select just the rows "TOTAL REVENUE" and sum them?