Forum Discussion
Traffic lights
Hi everybody !
I need to create a tree map with color function of value, but moreover I want to inject a text in each case. But my column is in a text format and when I want to inject the text, Power Bi shows "Number of..." so not my text..
Here is what I have, it is basic :
I success to create traffic lights, here is my solution :
Create a new dynamic column in date category : Picture URL
The second argument is picture, red orange and green circle
Indicateur = IF(
[AAAA]=0; "https://upload.wikimedia.org/wikipedia/commons/a/ac/Rond_rouge.png")
&
IF([AAAA]=1; "https://upload.wikimedia.org/wikipedia/commons/a/a0/Rond_orange.png")
&
IF([AAAA]=2; "https://upload.wikimedia.org/wikipedia/commons/9/9a/Rond_vert.png")David
3 Replies
- v-chuncz-msftCommunity Support
- DavidB023Helper III
Hi v-chuncz-msft,
Other fields like ?What I need is a visual like a traffic lights. In fact, when one of my value has a number, a color between red yellow and green appaer on my visual. That's why I used treemap and I success. But now, I want to have a description text (which is variable for every value and will be actualize) in every case and I can't put a text... Power BI seems needed only figures...
Best regard
David
- DavidB023Helper III
I success to create traffic lights, here is my solution :
Create a new dynamic column in date category : Picture URL
The second argument is picture, red orange and green circle
Indicateur = IF(
[AAAA]=0; "https://upload.wikimedia.org/wikipedia/commons/a/ac/Rond_rouge.png")
&
IF([AAAA]=1; "https://upload.wikimedia.org/wikipedia/commons/a/a0/Rond_orange.png")
&
IF([AAAA]=2; "https://upload.wikimedia.org/wikipedia/commons/9/9a/Rond_vert.png")David