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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
I try to build slicer which would show always current month-year when someone enters the report.
Currently I've build the calculated column in my calendar table which looks like that
Solved! Go to Solution.
Hello,
I've resolved problem myself
@Pbiuserr , Yes, the approach is good, we do not have another approach as of now
Month Type = Switch( True(),
eomonth([Date],0) = eomonth(Today(),-1),"Last Month" ,
eomonth([Date],0)= eomonth(Today(),0),"This Month" ,
Format([Date],"MMM-YYYY")
)
For last one you have use a filter like this one
Month Type = Switch( True(),
eomonth([Date],0) <= eomonth(Today(),-1),"Previous Months" ,
"Furure Months"
)
@amitchandak Thanks for your input first column works brilliantly, although I dont understand second column intended use
This suppose to filter my calendar which is
Hi @Pbiuserr ,
Please create the calculated column.
Order = FORMAT ( [Date], "yyyymm" )
Then sort [Current Month] column by [Order] field.
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello,
I've resolved problem myself
Check out the November 2025 Power BI 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!