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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Display conditional picture

Hi,

 

I have a belt column with the following value : yellow belt, green belt or black belt 

I have this pictures for this belts : 

blackbelt.pnggreenbelt.pngyellowbelt.png

 

I made a summary of my data, the user choose one line and in this summary I want to display the image according to the "belt" column (if belt = yellow belt display yellow belt picture in the summary) it is possible ?

 

This is the summary 

summary.png

And I have a second question, in this summary I have to display long text (multiple line) do you know what visualisation is the most suitable ? Because I use the "card" visualisation and the text don't appear entirely

 

Thanks in advance

1 ACCEPTED SOLUTION
v-kelly-msft
Community Support
Community Support

Hi @Anonymous ,

 

If the pictures are from your local machine,check the vedio below:

https://www.youtube.com/watch?v=A-Ytgs6p0aY

I made a simple sample for reference,pls see attached.

vkellymsft_0-1635842558468.png

Also check the supported data URL scheme below:

data:       
data:text/plain
data:text/html
data:text/html;base64
data:text/css
data:text/css;base64
data:text/javascript
data:text/javascript;base64
data:image/gif;base64
data:image/png;base64
data:image/jpeg;base64
data:image/x-icon;base64
data:image/svg+xml;charset=utf-8
 

Best Regards,
Kelly

Did I answer your question? Mark my reply as a solution!




 

View solution in original post

4 REPLIES 4
v-kelly-msft
Community Support
Community Support

Hi @Anonymous ,

 

If the pictures are from your local machine,check the vedio below:

https://www.youtube.com/watch?v=A-Ytgs6p0aY

I made a simple sample for reference,pls see attached.

vkellymsft_0-1635842558468.png

Also check the supported data URL scheme below:

data:       
data:text/plain
data:text/html
data:text/html;base64
data:text/css
data:text/css;base64
data:text/javascript
data:text/javascript;base64
data:image/gif;base64
data:image/png;base64
data:image/jpeg;base64
data:image/x-icon;base64
data:image/svg+xml;charset=utf-8
 

Best Regards,
Kelly

Did I answer your question? Mark my reply as a solution!




 

if the pictuse from share_point then what need to do. please guide.

Nicole_PBI
Frequent Visitor

Regarding dynamic picture, have a look at this post: Show picture in report based on slicer selection.

Side note: Chiclet Slicer is a nice options for using pictures as selection.

 

Regarding long text: Try to increase the text size of the card visualisation. Alternatively, use the table visual and shapes to mimic a text field.

amitchandak
Super User
Super User

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.