Forum Discussion
Anonymous
6 years agoNot applicable
Calculate rate for specific regions
Hi, I'm quite fresh to Power BI so sorry if this was alredy created but i have issue/question lets assume i have data like: Regioons/Country/Revenue and want to calculate % of revenue for given ...
- 6 years ago
Hi Anonymous ,
Do you mean this?
Measure = VAR region = CALCULATE ( SUM ( 'Table'[REVENUE] ), ALLEXCEPT ( 'Table', 'Table'[REGION] ) ) RETURN DIVIDE ( SUM ( 'Table'[REVENUE] ), region )
v-xuding-msft
Community Support
6 years agoHi Anonymous ,
Do you mean this?
Measure =
VAR region =
CALCULATE ( SUM ( 'Table'[REVENUE] ), ALLEXCEPT ( 'Table', 'Table'[REGION] ) )
RETURN
DIVIDE ( SUM ( 'Table'[REVENUE] ), region )