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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
VictorHuynh
New Member

Display status icon in table column

Hi!

 

I was wondering if there is a way to disaplay different icons/images in a table column depending on what value it contains?

I'm getting my data from a streaming dataset.

 

image.png

 

 

Best regards,

 

Victor Huynh

2 REPLIES 2
v-ljerr-msft
Employee
Employee

Hi @VictorHuynh,

 

Based on my test, an alternative solution could be that using the formula below to create a new column in your table. And in Modeling, set the data category to “Image URL”.

Column = IF(Table1[Status]=2,"http://sqlkover.com/wp-content/uploads/2017/02/thumbsup.png","http://sqlkover.com/wp-content/uploads/2017/02/thumbsdown.png")

c1.PNG

 

Then you should able to display different icons/images in a table column depending on what value it contains, on the Table visual. Smiley Happy

r1.PNG

Regards

Hi @v-ljerr-msft,

 

Thank you for your reply. 

It seems like when getting data from a streaming dataset most of the functions in Modeling are disabled. I only thing I could click on is the New Measure. So instead of creating a column I created a new measure  with a SWITCH statment instead. But unfortunately I could not set the Data Catagory for this new measure. It displays value (image-url) as text 😞 

Do you know of any other way I could solve this matter?

 

Getting data from streaming data set

image.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The menu in Modeling (most of the functions are greyed out)


image.png

 

 

 

 

 

 

 

Best regards,

 

Victor 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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