Forum Discussion
Anonymous
6 years agoNot applicable
Measure to Sum Minutes and Filter by Year
Hello All, I need some help in adding a new measure to sum a column (Number of Minutes) and filter by different column (Year). Sample data in attached screenshot, I need your assitance to add...
- 6 years ago
I Think this is works for you: 3 Measures for example.
Total Minutes 2019 = CALCULATE( SUM(Table[Minutes]); Table[Year] = 2019 ) Total Minutes 2020 = CALCULATE( SUM(Table[Minutes]); Table[Year] = 2020 ) Total Minutes 2019 & 2020 = CALCULATE( SUM(Table[Minutes]); Table[Year] = in {'2019', '2020'} )
marcio_fornari
Resolver I
6 years agoI Think this is works for you: 3 Measures for example.
Total Minutes 2019 =
CALCULATE(
SUM(Table[Minutes]);
Table[Year] = 2019
)
Total Minutes 2020 =
CALCULATE(
SUM(Table[Minutes]);
Table[Year] = 2020
)
Total Minutes 2019 & 2020 =
CALCULATE(
SUM(Table[Minutes]);
Table[Year] = in {'2019', '2020'}
)
- Anonymous6 years agoNot applicable
Hi, Many thanks.. Exactly what I was looking for, thanks again.