Forum Discussion
Anonymous
7 years agoNot applicable
Average with specific conditions
Hi there, I am just starting to discover PowerBI and it looks promising but I am stuck with a specific problem. I'd like to make a trend analysis for several different regions over four years and...
v-juanli-msft
Community Support
7 years agoHi Anonymous
It is not clear of your information, before you provide more details, i would like to give two methods as below.
with this measure, i can calcuate how many years each region give the information
measure-region = CALCULATE(DISTINCTCOUNT(Sheet6[year]),ALLEXCEPT(Sheet6,Sheet6[regions]))
with this measure, i can calcuate how many years each product give the information
Measure-each product = CALCULATE(DISTINCTCOUNT(Sheet6[year]),ALLEXCEPT(Sheet6,Sheet6[products]))
For next steps, please let me know what exactly you want.
Best Regards
Maggie