The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 ...
User | Count |
---|---|
11 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
24 | |
14 | |
13 | |
9 | |
8 |