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, I have data for year 2022, 2023 and 2024 and the data size is too big, so i need to load the data in separate dataflow for each year.
For example, I use syntax Date.IsInCurrentYear([DATE]) to load 2024 data and Date.IsInPreviousYear([DATE]) for 2023 data.
What syntax should I use to load 2022 data?
Solved! Go to Solution.
pls try this
= Table.SelectRows( #"Sorted Rows", each Date.Year([DATE]) = Date.Year( Date.From( DateTime.LocalNow()))-2)
User | Count |
---|---|
78 | |
77 | |
38 | |
31 | |
28 |
User | Count |
---|---|
106 | |
96 | |
55 | |
49 | |
46 |