Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hello,
I have a table with Country Names then I have a line and stacked column chart. When I select a country name from the table (is not a slicer) I want the chart name to change accordingly.
I came up with this 2 DAX expression
You may try a single measure as below. It doesn't have this problem.
Title = IF(HASONEVALUE(CountryTable[CountryName]),"The selected country is " & VALUES(CountryTable[CountryName]),"No country selected")
Notice that the data in my sample is from the same table. If your data are from different tables, please check the relationship between tables. This may lead to different results.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Hello,
Thanks for the reply.
I had already tried that measure and still doesn't work.
Yes, the data is in different tables without a direct connection between them. There a table in the midle connecting the other two
Did you use CountryTable's CountryName column in both the slicer and the table visual? Currently, the cross-filter direction of relationship between CountryTable and the middle table is Both, try changing it into Single. In addition, if possible, change the relationship between the middle table and the "Origenes Articulos" table to Single direction too (the middle table filters "Origenes Articulos").
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 20 | |
| 17 | |
| 12 |
| User | Count |
|---|---|
| 64 | |
| 55 | |
| 42 | |
| 38 | |
| 30 |