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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
bgierwi2
Advocate I
Advocate I

Add URL Conditional Formatting with ICON only

I have a power bi matrix that shows previous test results over the previous years

I have it conditionally formatted to show the result with ICONS only.

 

Is there a way to also include the Web URL conditional formatting with Icons only conditional formatting?

 

If I change the current conditional formatting to show both the icon and result: the Web URL works.  But I want to keep it as Icon only.  Alternatively if I could toggle between the two views (Icon only & Icon with result), that would be an improvement over what I have (but the preference would be icons only).

 

bgierwi2_0-1659300637599.png

 

 

2 REPLIES 2
bgierwi2
Advocate I
Advocate I

@amitchandak 

 

I was able to get it to work!

Using the first measure you listed, that became my value.

Then the second measure was used in the conditional formatting for color.

As you described, and everything makes sense

 

Did have one complication:

I have some entries where a cell has multiple entries (Multiple tests in the same year).  In my previous visual each value was 1,2, or 3 and had conditional monitoring that set the icons.  So the value was sorted to max, and it would only show the worst result (3 was the worst result, 2 was next, and 1 was pass).

Now with the UNICHAR described above, if there are multiple entires nothing is shown.

Is there a way to control how multiple entires are shown in a matrix?

 

amitchandak
Super User
Super User

@bgierwi2 , Create icon and color measures. Use Icon measure in place of measure and use color(Using field value option)  and url

 

example

 

/////Arrow
Arrow =
var _change =[Net Sales YTD]-[Net Sales LYTD]
return
SWITCH (
TRUE(),
_change > 0, UNICHAR(9650),
_change = 0, UNICHAR(9654),
_change < 0, UNICHAR(9660)
)


/////Arrow Color
Arrow color =
var _change =[Net Sales YTD]-[Net Sales LYTD]
return
SWITCH (
TRUE(),
_change > 0, "green",
_change = 0, "blue",
_change < 0, "red"
)

 

refer for unichar icon - https://exceleratorbi.com.au/dax-unichar-function-power-bi/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.