Forum Discussion
Kavya123
Helper III
7 years agoDynamically changing colors in Bar chart
Hi Everyone, I have a requirenment to display a different color for bar based on the condition. In the below screenshot the text Internal Audit (3rd line of Defense) is coming from Table 1, a...
- 7 years ago
Try modifying the measure as
Measure 2 = IF ( VALUES ( Table2[Text value] ) IN VALUES ( Table1[Text ] ), "#6c1610" )
Zubair_Muhammad
Community Champion
7 years ago- Kavya1237 years ago
Helper III
Hi Zubair Muhammad,
Thanks for ther reply. It is working for single text value. For company B there are two texts. If i select company B (Direct assistance,Management testing) both bars should highlight.
- Zubair_Muhammad7 years ago
Community Champion
Try modifying the measure as
Measure 2 = IF ( VALUES ( Table2[Text value] ) IN VALUES ( Table1[Text ] ), "#6c1610" )
- Kavya1237 years ago
Helper III
Thanks a lot it worked.