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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
hainguyen28
Regular Visitor

Dynamic title for a bar chart linked with a matrix

I have a matrix with sales of 3 different categories, and an accompany bar graph as follow:

hainguyen28_0-1737422597278.png

I want to create a dynamic title for the bar chart. For example, if I click on Office Supplies in the matrix, then the title of the bar chart would be Total Sales for Office Supplies. Same thing for Furniture and Technology. 

 

Can anyone please show me how to do that?

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @hainguyen28 
Since the essence of a dynamic title lies in indicating whether the visualization is filtered, this can only work if you set the interaction to "filter" rather than "highlight."

Ritaf1983_0-1737436612889.pngRitaf1983_1-1737436642716.png

 

So you should modify interactions for "filter" 

Ritaf1983_2-1737436736491.png

And then use measure like :

Ritaf1983_3-1737436789380.pngRitaf1983_4-1737436820476.png

Ritaf1983_5-1737436868620.png

The pbix is attached

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @hainguyen28 ,

 

Pls has your problem been solved? If so, accept the reply as a solution. This will make it easier for the future people to find the answer quickly.
If not, please provide a more detailed description, preferably some virtual sample data, and the expected results.

Best Regards,
Stephen Tao

 

Ritaf1983
Super User
Super User

Hi @hainguyen28 
Since the essence of a dynamic title lies in indicating whether the visualization is filtered, this can only work if you set the interaction to "filter" rather than "highlight."

Ritaf1983_0-1737436612889.pngRitaf1983_1-1737436642716.png

 

So you should modify interactions for "filter" 

Ritaf1983_2-1737436736491.png

And then use measure like :

Ritaf1983_3-1737436789380.pngRitaf1983_4-1737436820476.png

Ritaf1983_5-1737436868620.png

The pbix is attached

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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
Top Kudoed Authors