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
LP2803
Responsive Resident
Responsive Resident

Chart title or a message to show when year other than current year is selected.

Hi Team,

 

I have a Dim_date table with Year column and i have added this to a slicer. I have a chart which shows the Forecast for Current year.

 

I want to show the user a message "Forecast is only for current year" when they choose any other year other than 2020 from the slicer and show the chart when they choose year 2020.

Please help me how can i do this.

1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

@LP2803 

Refer to the attached PBIX file which I used to solve a similar problem. 

https://1drv.ms/u/s!AmoScH5srsIYgYJcsC3vs2FM4qh_Aw?e=8J68Wi

If you select Friday the chart will be visible otherwise users are presented with a message. hope you can adapt it to suit your requirement.

Fowmy_0-1596984202814.png

________________________

Did I answer your question? Mark this post as a solution, this will help others!.

Click on the Thumbs-Up icon on the right if you like this reply 🙂

YouTube, LinkedIn

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

5 REPLIES 5
nandic
Super User
Super User

LP2803
Responsive Resident
Responsive Resident

Thanks Greg & Fowmy. Both your post helped me to achieve the results. Thanks a lot

@LP2803 

 

You are welcome!

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Greg_Deckler
Super User
Super User

@LP2803  - See if this helps: https://community.powerbi.com/t5/Quick-Measures-Gallery/The-Most-Amazing-Mind-Blowing-Dynamic-Slicer...



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...
Fowmy
Super User
Super User

@LP2803 

Refer to the attached PBIX file which I used to solve a similar problem. 

https://1drv.ms/u/s!AmoScH5srsIYgYJcsC3vs2FM4qh_Aw?e=8J68Wi

If you select Friday the chart will be visible otherwise users are presented with a message. hope you can adapt it to suit your requirement.

Fowmy_0-1596984202814.png

________________________

Did I answer your question? Mark this post as a solution, this will help others!.

Click on the Thumbs-Up icon on the right if you like this reply 🙂

YouTube, LinkedIn

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

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.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.