Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap

Reply
DavidB023
Helper III
Helper III

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 ve.PNG

1 ACCEPTED SOLUTION

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

View solution in original post

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@DavidB023,

 

You may take advantage of other fields.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

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

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

Check out the May 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.