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
mossshvlw
Helper II
Helper II

Measure not updating to reflect that data is not filtered

Hi all,

 

I have a filter set up on a report I'm making in Power Bi Desktop, that will filter data by county.  I also have a measure that made that will display in text the current value of the filter.  So, if "Jackson" is selected for county, it will display the text "Jackson".  Here's my syntax for the measure I've created:

 

Filters Selected =
IF (
ISFILTERED ( myTable[County] ),
CONCATENATEX ( FILTERS ( myTable[County] ), myTable[County], ", " ),
"ALL"
)
 
The measure works as expected when a specific county is selected:
 
county_jackson.PNG

 

The problem is that when no county is selected in the filter (i.e. it's set to "All"), the text still reads the name of a county (the first one in the alphabetical list is Adams, so it's likely just reading the first value?):

 

County_all.PNG

 

Can anyone tell me what I'm doing wrong here?  Thanks in advance.

2 REPLIES 2
Icey
Community Support
Community Support

Hi @mossshvlw ,

 

I can't reproduce, too. Please update your Power BI Desktop to the latest version and then try it again by following the steps provided by @PaulDBrown.

 

title test.gif

 

 

Best regards

Icey

 

If this post helps, then consider Accepting it as the solution to help other members find it faster.

PaulDBrown
Community Champion
Community Champion

@mossshvlw 

I've just checked and it seems to work on my side (using a dummy dataset).

Using this measure on a card visual:

 

Selected Items or Display ALL =
IF (
    ISFILTERED ( 'Actuals1'[Item] ),
    CONCATENATEX ( FILTERS ( Actuals1[Item] ), Actuals1[Item], ", " ),
    "ALL"
)

 

And this measure for the title in the bar chart visual:

 

Selection Title = "Sum of Sales for " & [Selected Items or Display ALL]

 

 

FILTERS multi.JPG

 

FILTERS.JPG

If you are seeing the first value as the default in the title of a visual, you need to create a measure (see above) and add it to the conditional formatting under "Title" in the format pane:

FILTERS Titale.JPG

 

Title measure.JPG

 

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors