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.
Hi team
Need your help on this please.
I want to create a mesure to compare same period to 2019. instead of same period last year, I need same period 2019.
Solved! Go to Solution.
@liboyjoseph , if you always was 2019
Y3 =
var _diff = 2019 - maxx(allselected('Date'), 'Date'[Year]) )
//or var _diff = 2019 - year(maxx(allselected('Date'), 'Date'[date]) ))
return
CALCULATE([Total Sales TY],DATEADD('Date'[Date], _diff , YEAR))
@liboyjoseph , if you always was 2019
Y3 =
var _diff = 2019 - maxx(allselected('Date'), 'Date'[Year]) )
//or var _diff = 2019 - year(maxx(allselected('Date'), 'Date'[date]) ))
return
CALCULATE([Total Sales TY],DATEADD('Date'[Date], _diff , YEAR))
Hi, I want to make a measure to compare every last 4 year to 2017, same period. 2017 is my reference year to calculate an evolution for 2018, 2019, 2020 ...
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 |
---|---|
37 | |
25 | |
19 | |
14 | |
8 |
User | Count |
---|---|
68 | |
48 | |
45 | |
18 | |
15 |