Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
94 | |
77 | |
65 | |
53 |
User | Count |
---|---|
145 | |
105 | |
104 | |
90 | |
63 |