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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Display image based on measure

Hi all,

 

Im struggling to find a way to dispaly images based on my measure.

 

I have a measure  called TO - Average that changes based on the filter/slicers, and i'd like to dislay an image based in the measure results: 

 

Anyone have any idea how, can i proceed with it? 

2 ACCEPTED SOLUTIONS
Phil_Seamark
Microsoft Employee
Microsoft Employee

Hi @Anonymous

 

This is much easier with calculated columns when you can mark the column in the Web URL data category, but these won't respect filters/slicers.

 

You can use the UNICHAR function in measures to get a simlar effect and there are a tonne of useful unichar values you can draw on.

 

eg, the following will give you a thumbs up, you can wrap this in an IF or SWITCH statement to generate the UNICHAR code you need.

 

Measure = UNICHAR(128077)

There are a bunch of websites that list the kinds of codes you can use, but here is one

 

https://www.fileformat.info/info/unicode/block/miscellaneous_symbols_and_pictographs/list.htm


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

My good friend Chris has a blog on using the UNICHAR function

 

https://blog.crossjoin.co.uk/2017/04/11/the-dax-unichar-function-and-how-to-use-it-in-measures-for-d...


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

3 REPLIES 3
Phil_Seamark
Microsoft Employee
Microsoft Employee

Hi @Anonymous

 

This is much easier with calculated columns when you can mark the column in the Web URL data category, but these won't respect filters/slicers.

 

You can use the UNICHAR function in measures to get a simlar effect and there are a tonne of useful unichar values you can draw on.

 

eg, the following will give you a thumbs up, you can wrap this in an IF or SWITCH statement to generate the UNICHAR code you need.

 

Measure = UNICHAR(128077)

There are a bunch of websites that list the kinds of codes you can use, but here is one

 

https://www.fileformat.info/info/unicode/block/miscellaneous_symbols_and_pictographs/list.htm


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

My good friend Chris has a blog on using the UNICHAR function

 

https://blog.crossjoin.co.uk/2017/04/11/the-dax-unichar-function-and-how-to-use-it-in-measures-for-d...


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Anonymous
Not applicable

Thanks a lot @Phil_Seamark

 

It worked perfectly ! 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors