Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hello everyone,
I have created a calculated column which filters the most recent months, in this particular example the last two months. This filter was working, but only in the year itself. Now we are in the new year, it shows only the month of this year, but it still want the months of 2021. So I want all the dates from 1 November till today (so the 4th of January).
The formula is as follows:
Solved! Go to Solution.
Thank you @amitchandak for your (fast) reply 🙂
The results I got were alle blanks, so I adjusted the formula as follows:
@Anonymous , better to use EOmonth to deal with months
check one of three should work
Last 2 months = IF(eomonth([Date],0)=eoMonth(Today(),-3)+1 && [Date] <=TODAY(), "Last 2 months", BLANK())
or
Last 2 months = IF(eomonth([Date],0)=eoMonth(Today(),-3)+1 && eomonth([Date],0) <=eomonth(TODAY(),0), "Last 2 months", BLANK())
or
Last 2 months = IF(eomonth([Date],0)=eoMonth(Today(),-3)+1 && eomonth([Date],0) <=eomonth(TODAY(),-1), "Last 2 months", BLANK())
Thank you @amitchandak for your (fast) reply 🙂
The results I got were alle blanks, so I adjusted the formula as follows:
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
User | Count |
---|---|
90 | |
89 | |
79 | |
70 | |
68 |
User | Count |
---|---|
226 | |
129 | |
120 | |
84 | |
78 |