Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Need to display the previous month's dates and this month's dates by using the existing dates column.
Not basic filtering and advanced filtering.
Solved! Go to Solution.
Hi @Kumarun ,
Please check if the method @amitchandak provided could meet your requirements.
And just a little correction:
Flag =
SWITCH (
TRUE (),
[Date]
>= EOMONTH ( TODAY (), -2 ) + 1
&& [Date] <= EOMONTH ( TODAY (), 0 ), 1,
0
)
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Kumarun , if you need a column, then you need create a flag
Flag =
Switch( True() ,
[Date] >= eomonth(today(),-2) +1 && [Date] <= eomonth(today,0) , 1 , 0)
Hi @Kumarun ,
Please check if the method @amitchandak provided could meet your requirements.
And just a little correction:
Flag =
SWITCH (
TRUE (),
[Date]
>= EOMONTH ( TODAY (), -2 ) + 1
&& [Date] <= EOMONTH ( TODAY (), 0 ), 1,
0
)
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
=SWITCH (
TRUE (),
[date]
>= EOMONTH ( TODAY (), -3 ) + 1
&& [date] <= EOMONTH ( TODAY (), 0 ), FORMAT([date],"dd-mm-yyyy")
)
Display the date, so i'm using format function
Check out the November 2025 Fabric update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!