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
NikkiG12
Frequent Visitor

Dynamic visuals based on Year Slicer

I have been trying to do this for the last few hours and can't figure out how. I have three data tables:

Budget Table, Actual Table and Calendar Table. Budget and Actual have a relationship to Calendar Table by date. 

I created a slicer for Calendar Year; filtered on Year greater than or equal to 2023. 

In my visual, if I click on 2023 then I want all months to show up, if I click on 2024 then I only want current month + past months to show up. 

Is this possible?




5 REPLIES 5
NikkiG12
Frequent Visitor

Current month would be month that we are in. So if I click on 2024, I would want to see Jan, Feb and Mar actuals/budget. Next month, would want Jan, Feb, Mar and Apr to show in my visuals for 2024. 

Are all your users in the same timezone?  If not then you risk having a discrepancy in the report when for some users it is already April 1 and for others it is still March 31

Yes, all users are in the same time zone. I will also be adding a note that any dates are in EST.. 

I mainly want to do this so that my users aren't seeing all upcoming months with no "Actual Sales" so there's no big freakout when they see -100% for variance of actual vs budget.  

You mean EDT  ?  🙂

 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

lbendlin
Super User
Super User

sure, if you can define what "current month"  means?

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.