Forum Discussion
Highlight a specific bar based on slicer selection
- 5 years ago
Just checked out your sample file. The problem is that the country names in the 'tableCountry' table don't match the country names in the 'Lists' table (probably an extra space at the end or something)
I Just created a new table to check it out using DISTINCT and you get this:
paulmorgan , This seems correct to me
Try this. Just sure country names are matching
colorFocus = IF( MAX ( Lists[Country] ) in allselected(tableCountry[Country] ),"Red","Grey")
I am assuming List is name of column, that is used on x-axis
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Thanks very much for your suggestion. Unfortunately, it didn't work for me. I created a sample file, but I guess I don't "rank" being able to upload pbix files, and my company doesn't allow for people outside the company to access OneDrive files, and I don't have a Dropbox account. I tried uploading to Google Drive, but it gives me basically a "file structure" when I click on it instead of an actual pbix file.
If you have any other suggestions on how to share the file, let me know. Regardless, I do appreciate your willingness to help out!
- PaulDBrown5 years ago
Community Champion
Google Drive is fine (even though you "see" a file structure, if you download you get the PBIX file). Alternatively, try a file transfer service such as:
Btw, did you check out the suggested thread ?
- paulmorgan5 years ago
Helper II
Hi Paul. Thanks for the advice. Here is the link to the Google Drive file. Hopefully, that works.
Yes, I was starting to work through the thread. it looks like it could be good. It's just more involved, and i was hoping to get away with being lazy. 😉 But I'm grabbing some coffee and working through it.
Thanks for your efforts!
Paul
- PaulDBrown5 years ago
Community Champion
Just checked out your sample file. The problem is that the country names in the 'tableCountry' table don't match the country names in the 'Lists' table (probably an extra space at the end or something)
I Just created a new table to check it out using DISTINCT and you get this: