Forum Discussion
Is It Possible To Change Card Text Color Based On What You Click On Pie Chart?
Hello edhans,
I tried it and I don't think it helps with what I meant if i'm correct.
What i'm trying to achieve is to have the same colors that the power bi generates randomly each time we open the report to apply them on the text on the card visual. Is there some kind of DAX function that gets the colors the power bi assigns to values on the pie chart, bar charts and the other visuals?
For example, here is the pie chart I have, as you can see, these colors were assigned by power bi itself, what I want to do is if I clicked on and highlighted one of these colors, I want the text color on card visual to have the same color as the one I highlighted.
Is this possible?
Thanks for the help!
Not that I am aware of. You'd have to dig into the custom visuals in the Power BI visual store and see if anyone has written such a thing.