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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
dvhez
Helper II
Helper II

Is there a way to include a 'changing title' to a chart?

For the following chart, I included two cards in order to show both filter's name. I know that maybe this isn't what cards are for, but it's useful for my porpuses. However, if there's no year/month selected, it will show the first (or last) of the one which isn't selected. Is there an alternative way to achieve this? I wan't the user to be able to read from the chart itself the month and year in question. If you have a better apporach, it would be great!

 

PBIDesktop_2018-10-20_16-42-41.png

 

 

1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
Employee

Hi @dvhez,

 

Maybe you can try this measure:

SelectedItem=
IF (
    ISFILTERED ( 'Table'[Year] ),
    SELECTEDVALUE (  'Table'[Year] ),
    "No value is selected"
)


Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yulgu-msft
Employee
Employee

Hi @dvhez,

 

Maybe you can try this measure:

SelectedItem=
IF (
    ISFILTERED ( 'Table'[Year] ),
    SELECTEDVALUE (  'Table'[Year] ),
    "No value is selected"
)


Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-yulgu-msft,

 

Thanks for your answer!. Do you know why it could be that this solution is showing me (Blank) instead of "SEN"?.

 

ZoneSelect = 
IF(
    ISFILTERED ('Capacidad Instalada 2018'[Zone]);
    SELECTEDVALUE('Capacidad Instalada 2018'[Zone]);
    "SEN"
)

PBIDesktop_2018-10-23_13-57-21.png

 

 

 

 

Greg_Deckler
Super User
Super User

No, this is pretty much how I do it. Take a look at this quick measure I created for dynamic titles, might give you some ideas. 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.