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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
ADH_24
New Contributor

Display selected filter on this visual value per individual graph.

I created a page that displays the same graph 2X so the consumer can pick a time period for one graph and another for the other graph to compare top programs for different time periods. At first I created slicers for each graph but the slicers took up too much room and made the page too busy. I then created unique filters per each visual (Filters on this visual). I want to create a card or text box that displays the consumers choice(s) for the selected values under the filters on this visual. For example, compare # of enrolled programs for semester 1/2025 vs semester 2/2025 and in the text/card will display the semester chosen per graph. Please help!

1 ACCEPTED SOLUTION
Olufemi7
Contributor II

Hi @ADH_24

 

You can display the selected filter value for each individual visual by creating a simple DAX measure that reflects the filter context. That way, a card or dynamic title will always show the consumerโ€™s choice without needing slicers.

 

1. Create a Measure for the Selected Value

 

Selected Semester =

SELECTEDVALUE('Semester'[SemesterName], "No Semester Selected")

 

 

โ€ข If one semester is chosen โ†’ it shows that semester.

โ€ข If none or multiple are chosen โ†’ it shows โ€œNo Semester Selectedโ€ (you can change this text).

 

2. Add a Card Visual Beside Each Graph

 

โ€ข Insert a Card visual next to each graph.

โ€ข Drop the `Selected Semester` measure into the card.

โ€ข Because the card inherits the same filter context as the graph (when you use Filters on this visual), it will display the semester chosen for that specific graph.

 

3. (Optional) Handle Multiple Selections

 

Selected Semesters =

CONCATENATEX(

    VALUES('Semester'[SemesterName]),

    'Semester'[SemesterName], ", ")

 

This will list all selected semesters in the card.

 

4. Alternative: Dynamic Titles

 

Graph Title =

"Enrolled Programs for " &

SELECTEDVALUE('Semester'[SemesterName], "Selected Semester")

 

Then go to the visual โ†’ Format โ†’ Title โ†’ fx (conditional formatting) โ†’ bind it to this measure.

Each graphโ€™s title will automatically show the selected semester.

 

Example

 

โ€ข Graph 1 filter: Semester = 1/2025 โ†’ Card shows โ€œSemester 1/2025โ€

โ€ข Graph 2 filter: Semester = 2/2025 โ†’ Card shows โ€œSemester 2/2025โ€

 

 

Now consumers can clearly compare side by side without cluttering the page with slicers.

 

 

 If this answered your question, please click โ€œAccept as Solutionโ€ so others with the same issue can easily find it.

View solution in original post

6 REPLIES 6
GeraldGEmerick
Contributor III

@ADH_24 This can be a bit tricky since visuals do not actually interact with other visuals until you actually select something in the visual. Therefore, you could create a measure like:

Measure = MAX( 'Table'[Semester] )

Putting this in 2 card visuals and if you do the correct Edit interactions, this still will not work having only a filter on the graph as this filter does not propogate to the other visual (card) until you actually select something in the graph visual. 

 

One thing you could do would be to have 2 card visuals and just manually put the same filter on those visuals. Otherwise, you would likely need to go back to the slicer solution and use Edit interactions appropriately between the two sets of 3 visuals ( slicer, graph, card ). You could hide the slicer visuals on the page.

 

Olufemi7
Contributor II

Hi @ADH_24

 

You can display the selected filter value for each individual visual by creating a simple DAX measure that reflects the filter context. That way, a card or dynamic title will always show the consumerโ€™s choice without needing slicers.

 

1. Create a Measure for the Selected Value

 

Selected Semester =

SELECTEDVALUE('Semester'[SemesterName], "No Semester Selected")

 

 

โ€ข If one semester is chosen โ†’ it shows that semester.

โ€ข If none or multiple are chosen โ†’ it shows โ€œNo Semester Selectedโ€ (you can change this text).

 

2. Add a Card Visual Beside Each Graph

 

โ€ข Insert a Card visual next to each graph.

โ€ข Drop the `Selected Semester` measure into the card.

โ€ข Because the card inherits the same filter context as the graph (when you use Filters on this visual), it will display the semester chosen for that specific graph.

 

3. (Optional) Handle Multiple Selections

 

Selected Semesters =

CONCATENATEX(

    VALUES('Semester'[SemesterName]),

    'Semester'[SemesterName], ", ")

 

This will list all selected semesters in the card.

 

4. Alternative: Dynamic Titles

 

Graph Title =

"Enrolled Programs for " &

SELECTEDVALUE('Semester'[SemesterName], "Selected Semester")

 

Then go to the visual โ†’ Format โ†’ Title โ†’ fx (conditional formatting) โ†’ bind it to this measure.

Each graphโ€™s title will automatically show the selected semester.

 

Example

 

โ€ข Graph 1 filter: Semester = 1/2025 โ†’ Card shows โ€œSemester 1/2025โ€

โ€ข Graph 2 filter: Semester = 2/2025 โ†’ Card shows โ€œSemester 2/2025โ€

 

 

Now consumers can clearly compare side by side without cluttering the page with slicers.

 

 

 If this answered your question, please click โ€œAccept as Solutionโ€ so others with the same issue can easily find it.

I created the cards, each with a selectedvalue measure, the 1st measure I called Selected TI Value Graph 1 and Selected TI Value Graph 2. I then dropped those measures into the cards but that still does not show what value is selected when you choose a "period (semester) value in the filters on this visual. To clarify, I have two identiical graphs, with graph 1 selected, I created a filters on this visual so that you could pick a period for graph 1 and then when you select graph 2, you can pick a different period to compare. I would like the cards to display the selected period for each graph so graph 1 would show a card of Period 1 and the other graph would show a card of Period 2 so the end user can tell what periods they are comparing. Maybe a question would be, once the card is created, how do you connect the card to a certain graph, so connect card 1 to graph 1 and card 2 to graph 2.

 

Hello @ADH_24 
You donโ€™t actually โ€œconnectโ€ a card to a graph in Power BI both visuals simply respond to the filter context theyโ€™re given.


Thatโ€™s why your cards are not showing the selected period yet: they need the same visualโ€‘level filter applied as the graphs.

 

Stepโ€‘byโ€‘Step

 

1. Create one measure for the selected valueSelected Semester =

SELECTEDVALUE(Sheet1[Semester], "No Semester Selected")

This measure will always return the semester chosen in the filter context of the visual itโ€™s placed in.

2. Add a Card beside each graph.  Insert a Card visual next to Graph 1 and Graph 2.

โ€ข Drop the `Selected Semester` measure into each card.

 

3. Apply visualโ€‘level filters. For Graph 1, set a visualโ€‘level filter on `Semester` = Period 1 (e.g., 1/2025).

โ€ข For Card 1, apply the same filter (`Semester` = 1/2025).

โ€ข For Graph 2, set a visualโ€‘level filter on `Semester` = Period 2 (e.g., 2/2025).

โ€ข For Card 2, apply the same filter (`Semester` = 2/2025).

Because the card inherits the same filter context, it will display the semester chosen for that specific graph.

 

Result

 

โ€ข Graph 1 filter: Semester = 1/2025 โ†’ Card 1 shows โ€œ1/2025โ€

โ€ข Graph 2 filter: Semester = 2/2025 โ†’ Card 2 shows โ€œ2/2025โ€

 

Now your users can clearly see which periods theyโ€™re comparing, side by side.

 

 

Optional Enhancement

 

If you prefer not to use cards, you can make the graph titles dynamic:

 

Graph Title =

"Enrolled Programs for Semester " &

SELECTEDVALUE(Sheet1[Semester], "Selected Semester")

 

 

Then go to Format โ†’ Title โ†’ fx (conditional formatting) and bind it to this measure. Each graphโ€™s title will automatically display the selected semester.

 

So the key is not creating separate measures for each card, but using one `SELECTEDVALUE` measure and applying different visualโ€‘level filters. That way, each card reflects the period of its paired graph.

Here is a visual: 

ADH_24_0-1765225051780.png

 

You are amazing!! I used the dynamic graph titles and it worked like a charm and was super easy. I had asked AI all different variations of this resolution and watched too many videos to count and nothing mentioned this solution. Many, many Thanks!!

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Users online (205)