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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.