Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Pbiuserr
Post Prodigy
Post Prodigy

Current month filter visual bug

Hello

Ive created current month filter

 

 

Current period = Switch( True(),
eomonth('Calendar'[Date],0)= eomonth(Today(),0),"Current Month:" &" "& Format('Calendar'[Date],"MMM YYYY") ,
Format('Calendar'[Date],"MMM YYYY")
)

 

 

It looks good, the date has changed to april with the current month in "Data tab" however, on slicer I can still see: Current Month: Mar 2022. 

 

Is there a way to automatically change to Apr 2022 without doing it manually? also - is under the hood still March data, if March appeared as Mar 2022 and first entry is Apr 2022?

Capture.PNG
Capture.PNG

1 ACCEPTED SOLUTION

Hi,
Thanks for your input. My problem has been solved - there cannot be &FORMAT(Calendar[YEAR-MONTH] because it doesnt work in UI. Just set it to current month and made a additional layer with shape which has measure of SELECTEDVALUES(Calendar[YEAR-MONTH) and put it on silcer display so the selection remains Current Month but it shows Apr 2022 as for now, in May it will change

View solution in original post

3 REPLIES 3
v-yanjiang-msft
Community Support
Community Support

Hi @Pbiuserr ,

Unfortunately I cann't reproduce your problem. Is your formula a calculated column, then put it in a slicer?

I attach my sample below, could you please point out how your sample is different from mine?

 

Best Regards,
Community Support Team _ kalyj

If this post helps, then please considerAccept it as the solution to help the other members find it more quickly.

Hi,
Thanks for your input. My problem has been solved - there cannot be &FORMAT(Calendar[YEAR-MONTH] because it doesnt work in UI. Just set it to current month and made a additional layer with shape which has measure of SELECTEDVALUES(Calendar[YEAR-MONTH) and put it on silcer display so the selection remains Current Month but it shows Apr 2022 as for now, in May it will change

Hi @Pbiuserr ,

Glad your problem is solved, you can mark your answer as the solution to help the other members who have same problems find it more quickly.

Best Regards,
Community Support Team _ kalyj

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.