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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
joshua1990
Post Prodigy
Post Prodigy

Text output based on filter

Hello everyone!

I have a title for one of our Reports that says something like:

Overall Report

I would like to add something like "Overal Report for this week" or Overall Report for this month" based on the filter/ button.

Is there any chance to get a dynamic text result based on the selected filter/ button?

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey @joshua1990 ,

 

I created this measure:

ttl add selected filter to report = 
"The report title with selected filter value: "
 & IF(HASONEVALUE('DimDate'[CalendarMonthLabel]) , MAX('DimDate'[CalendarMonthLabel]) , "...")

And then added it to the title of a txt box:

TomMartens_0-1593267764111.png

I select the measure and the TXT-Box will look like this:

TomMartens_1-1593267839762.png

Hopefully, this is what you are looking for.

 

Regards,
Tom

 

 



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

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

2 REPLIES 2
TomMartens
Super User
Super User

Hey @joshua1990 ,

 

I created this measure:

ttl add selected filter to report = 
"The report title with selected filter value: "
 & IF(HASONEVALUE('DimDate'[CalendarMonthLabel]) , MAX('DimDate'[CalendarMonthLabel]) , "...")

And then added it to the title of a txt box:

TomMartens_0-1593267764111.png

I select the measure and the TXT-Box will look like this:

TomMartens_1-1593267839762.png

Hopefully, this is what you are looking for.

 

Regards,
Tom

 

 



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

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Hi, Tom!
I'm very newbe here and have similar question. I want to have multiple filters that create a tittle, as the previous example. Lets say I select a region, a store, a vendor and a product. I want the output to be: "US, NY03, JohnSmith, sku111000"
With the meassure you pasted could be possible? as 

& IF(HASONEVALUE('Store'[StoreID], 'Employees' [vendor_name], 'Catalog' [SKU_number])

or something like this?

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.