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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
tarun16feb
Regular Visitor

Embedding up and down arrow images in visual and changing them based on condition

Hi

 

I need to add an up and down arrow image to my report which displays the arrow based on specific condition.

 

I have created a new measure show_image where

      show_image  = if sum(sales) > 1000 then 'Image url of up arrow' else 'Image url of down arrow'

 

The problem with this approach is that it returns the url of the image but I cannot format a measure to display the image URL. It can only be done with columns. 

and If i use a column then it returns me both the URL. 

 

Now is there a way to display just one result based on the condition.

 

Any help would be appreciated.

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @tarun16feb,

 

I'd like to suggest you create a table visual with formatted unichar code as kpi arrow based on conditions, you can take a look at below links to know more about this.

Power BI Desktop/DAX – Using Unicode (Arrows) as Measures in a Table

The DAX Unichar() Function And How To Use It In Measures For Data Visualisation

 

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @tarun16feb,

 

I'd like to suggest you create a table visual with formatted unichar code as kpi arrow based on conditions, you can take a look at below links to know more about this.

Power BI Desktop/DAX – Using Unicode (Arrows) as Measures in a Table

The DAX Unichar() Function And How To Use It In Measures For Data Visualisation

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors