Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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 a measure for total minutes in 2019 and and 2020.
Looki
Line and Clustered column chart
Columns - Number of calls (2019 & 2020)
Line - Number of Minutes (2019 & 2020)
Solved! Go to Solution.
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'}
)
Hi,
is the following chart what you want to achieve?
Regards FrankAT
Hi,
Yes, similar to it, but separate line for 2019 Minutes and 2020 Minutes.
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'}
)
Hi, Many thanks.. Exactly what I was looking for, thanks again.
User | Count |
---|---|
139 | |
113 | |
103 | |
73 | |
63 |
User | Count |
---|---|
135 | |
126 | |
110 | |
70 | |
61 |