<?xml version="1.0" encoding="UTF-8" ?><!-- generator=Zoho Sites --><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><atom:link href="https://www.datachy.com/blogs/tag/conditional-formatting/feed" rel="self" type="application/rss+xml"/><title>DataChy Analytics - Blog #Conditional formatting</title><description>DataChy Analytics - Blog #Conditional formatting</description><link>https://www.datachy.com/blogs/tag/conditional-formatting</link><lastBuildDate>Fri, 03 Apr 2026 03:58:23 -0700</lastBuildDate><generator>http://zoho.com/sites/</generator><item><title><![CDATA[How to Use UNICHAR() in DAX for Conditional Formatting in Power BI]]></title><link>https://www.datachy.com/blogs/post/how-to-use-unichar-in-dax-for-conditional-formatting-in-power-bi</link><description><![CDATA[How to use UNICHAR() in Power BI to add icons for conditional formatting. Enhance dashboards with ✅ ❌ for clearer, engaging reports.]]></description><content:encoded><![CDATA[<div class="zpcontent-container blogpost-container "><div data-element-id="elm_fUN4z8ATQBqRE6tzEWoJSQ" data-element-type="section" class="zpsection "><style type="text/css"></style><div class="zpcontainer-fluid zpcontainer"><div data-element-id="elm_PYdLUD3bQ_O9oma92xUZBQ" data-element-type="row" class="zprow zprow-container zpalign-items- zpjustify-content- " data-equal-column=""><style type="text/css"></style><div data-element-id="elm_-o1UDh_8RHupXuqdOCkU0A" data-element-type="column" class="zpelem-col zpcol-12 zpcol-md-12 zpcol-sm-12 zpalign-self- "><style type="text/css"></style><div data-element-id="elm_NFS3q2w5SU-wQMElzIj22Q" data-element-type="text" class="zpelement zpelem-text "><style></style><div class="zptext zptext-align-left zptext-align-mobile-justify zptext-align-tablet-justify " data-editor="true"><p></p><div><p><span style="font-style:italic;">Did you know you can make your Power BI dashboards more engaging by adding icons directly with DAX measures?</span></p><p style="text-align:justify;"><span style="font-style:italic;">The trick is to use the UNICHAR() function in Power BI, which allows you to display Unicode characters (like ✅, ❌, ▲, ▼, and ⭐) inside your visuals.</span></p><p><span style="font-style:italic;">This method is lightweight, flexible, and doesn’t require custom visuals, making it perfect for creating professional Power BI reports that stand out.</span></p></div><p></p></div>
</div><div data-element-id="elm_yQ6VY2E5EWaCPZ35OHNFaA" data-element-type="divider" class="zpelement zpelem-divider "><style type="text/css"></style><style></style><div class="zpdivider-container zpdivider-line zpdivider-align-center zpdivider-align-mobile-center zpdivider-align-tablet-center zpdivider-width100 zpdivider-line-style-solid "><div class="zpdivider-common"></div>
</div></div><div data-element-id="elm_PbApLn13NEUJ7kYjZT0KOQ" data-element-type="heading" class="zpelement zpelem-heading "><style></style><h2
 class="zpheading zpheading-style-none zpheading-align-left zpheading-align-mobile-left zpheading-align-tablet-left " data-editor="true"><span style="font-size:26px;font-family:&quot;Noto Sans&quot;;color:rgb(85, 85, 85);font-weight:bold;">What is the UNICHAR() Function in Power BI?</span></h2></div>
<div data-element-id="elm_BUMl0-ra4rB196ot7S3Epg" data-element-type="text" class="zpelement zpelem-text "><style></style><div class="zptext zptext-align-left zptext-align-mobile-justify zptext-align-tablet-justify " data-editor="true"><div><p></p><div><p>The UNICHAR() function in DAX returns a Unicode character based on the numeric code you provide.</p><p>For example:</p><ul><li><p><code>UNICHAR(9989)</code> → ✅</p></li><li><p><code>UNICHAR(10060)</code> → ❌</p></li><li><p><code>UNICHAR(9650)</code> → ▲</p></li><li><p><code>UNICHAR(9660)</code> → ▼</p></li></ul><p>You can easily find Unicode character codes online (e.g., search for <em>Unicode check mark code</em> or use <a href="https://www.vertex42.com/ExcelTips/unicode-symbols.html" title=" this reference" target="_blank" rel="">this referenc</a><a href="https://www.vertex42.com/ExcelTips/unicode-symbols.html" title=" this reference" target="_blank" rel="">e</a>) and use them in Power BI.</p></div><p></p></div></div>
</div><div data-element-id="elm_v7wnoniXNFirwzWguqzhvg" data-element-type="divider" class="zpelement zpelem-divider "><style type="text/css"></style><style></style><div class="zpdivider-container zpdivider-line zpdivider-align-center zpdivider-align-mobile-center zpdivider-align-tablet-center zpdivider-width100 zpdivider-line-style-solid "><div class="zpdivider-common"></div>
</div></div><div data-element-id="elm_XSED5VqwBYfaFchCHUKDpw" data-element-type="heading" class="zpelement zpelem-heading "><style></style><h2
 class="zpheading zpheading-style-none zpheading-align-left zpheading-align-mobile-left zpheading-align-tablet-left " data-editor="true"><span style="font-size:26px;font-family:&quot;Noto Sans&quot;;color:rgb(85, 85, 85);font-weight:bold;">Sample Dataset&nbsp;</span></h2></div>
<div data-element-id="elm_ASS90fMtgs10Zy5AAMFDww" data-element-type="text" class="zpelement zpelem-text "><style></style><div class="zptext zptext-align-left zptext-align-mobile-justify zptext-align-tablet-justify " data-editor="true"><p></p><div><p></p><div><p></p><div><p></p><span>Here’s a simple dataset you can import into Power BI to try out the UNICHAR function:</span><p></p></div><p></p></div><p></p></div><p></p></div>
</div><div data-element-id="elm_yEn690O-QIAoliKBZ9Xsyw" data-element-type="image" class="zpelement zpelem-image "><style> @media (min-width: 992px) { [data-element-id="elm_yEn690O-QIAoliKBZ9Xsyw"] .zpimage-container figure img { width: 370px !important ; height: 281px !important ; } } @media (max-width: 767px) { [data-element-id="elm_yEn690O-QIAoliKBZ9Xsyw"].zpelem-image { margin-block-start:-63px; } } </style><div data-caption-color="" data-size-tablet="" data-size-mobile="" data-align="left" data-tablet-image-separate="false" data-mobile-image-separate="false" class="zpimage-container zpimage-align-left zpimage-tablet-align-center zpimage-mobile-align-center zpimage-size-original zpimage-tablet-fallback-fit zpimage-mobile-fallback-fit hb-lightbox " data-lightbox-options="
                type:fullscreen,
                theme:dark"><figure role="none" class="zpimage-data-ref"><span class="zpimage-anchor" role="link" tabindex="0" aria-label="Open Lightbox" style="cursor:pointer;"><picture><img class="zpimage zpimage-style-none zpimage-space-none " src="/Screenshot%202025-09-15%20123744.png" size="original" data-lightbox="true"/></picture></span></figure></div>
</div><div data-element-id="elm_8tlcppmYcZcruQxz4TdiZQ" data-element-type="divider" class="zpelement zpelem-divider "><style type="text/css"></style><style></style><div class="zpdivider-container zpdivider-line zpdivider-align-center zpdivider-align-mobile-center zpdivider-align-tablet-center zpdivider-width100 zpdivider-line-style-solid "><div class="zpdivider-common"></div>
</div></div><div data-element-id="elm_klOKUQlHpCO5tiBB3cPBpA" data-element-type="heading" class="zpelement zpelem-heading "><style></style><h2
 class="zpheading zpheading-style-none zpheading-align-left zpheading-align-mobile-left zpheading-align-tablet-left " data-editor="true"><span style="font-size:26px;font-family:&quot;Noto Sans&quot;;color:rgb(85, 85, 85);font-weight:bold;">Step 1: Create a DAX Measure with Icons</span></h2></div>
<div data-element-id="elm_Xd3Ye3k18PtUJNLxXYFGoA" data-element-type="text" class="zpelement zpelem-text "><style></style><div class="zptext zptext-align-left zptext-align-mobile-justify zptext-align-tablet-justify " data-editor="true"><p></p><div><p></p><div><p></p><div><p>Let’s say you want to display a check mark (✅) if sales are above target and a cross (❌) if not.</p><p>Here’s how to write the measure:</p></div><p></p></div><p></p></div><p></p></div>
</div><div data-element-id="elm_BqSAPFSZKFjNGt_mLUbsXg" data-element-type="codeSnippet" class="zpelement zpelem-codesnippet "><div class="zpsnippet-container"><pre><code>
Sales Status = 
IF(
    SUM(Sales[SalesAmount]) >= SUM(Sales[Target]),
    UNICHAR(9989),
    UNICHAR(10060)
)
</code></pre></div>
</div><div data-element-id="elm_T3H6JbNdUw1uS9T18chlCA" data-element-type="text" class="zpelement zpelem-text "><style></style><div class="zptext zptext-align-left zptext-align-mobile-justify zptext-align-tablet-justify " data-editor="true"><p></p><div><p></p><div><p></p><div><p></p><span>This measure will return either a check mark or a cross depending on sales performance.</span><p></p></div><p></p></div><p></p></div><p></p></div>
</div><div data-element-id="elm_PPU60S3SDioyzpfcTWOuXg" data-element-type="divider" class="zpelement zpelem-divider "><style type="text/css"></style><style></style><div class="zpdivider-container zpdivider-line zpdivider-align-center zpdivider-align-mobile-center zpdivider-align-tablet-center zpdivider-width100 zpdivider-line-style-solid "><div class="zpdivider-common"></div>
</div></div><div data-element-id="elm_Hj_4GUCQTXozr-p4mfY7Ag" data-element-type="heading" class="zpelement zpelem-heading "><style></style><h2
 class="zpheading zpheading-style-none zpheading-align-left zpheading-align-mobile-left zpheading-align-tablet-left " data-editor="true"><span style="font-size:26px;font-family:&quot;Noto Sans&quot;;color:rgb(85, 85, 85);font-weight:bold;">Step 2: Use the Measure in a Table or Matrix</span></h2></div>
<div data-element-id="elm_3mWncDkbf2qVz3R1zWup0A" data-element-type="text" class="zpelement zpelem-text "><style></style><div class="zptext zptext-align-left zptext-align-mobile-justify zptext-align-tablet-left " data-editor="true"><p></p><div><p></p><div><p></p><div><p></p><div><ol><li><p>Add the Sales Status measure to a Table or Matrix visual.</p></li><li><p>Power BI will display either ✅ or ❌ for each product row.</p></li></ol><p>You can even combine text with icons for better readability:</p></div><p></p></div><p></p></div><p></p></div><p></p></div>
</div><div data-element-id="elm_LCxqr4Cnnkvqt51rfeEoyQ" data-element-type="codeSnippet" class="zpelement zpelem-codesnippet "><div class="zpsnippet-container"><pre><code>
Sales with Icon = 
IF(
    SUM(Sales[SalesAmount]) >= SUM(Sales[Target]),
    UNICHAR(10003) & " On Target",
    UNICHAR(10060) & " Below Target"
)
</code></pre></div>
</div><div data-element-id="elm_b6pOXuASw2_8PKRcO4TjSw" data-element-type="text" class="zpelement zpelem-text "><style></style><div class="zptext zptext-align-left zptext-align-mobile-justify zptext-align-tablet-justify " data-editor="true"><p></p><div><p></p><div><p></p><div><p></p><span><span>This way, users see both the symbol and a label in your Power BI report.</span></span><p></p></div><p></p></div><p></p></div><p></p></div>
</div><div data-element-id="elm_If5nPiLXhyrjxUKH6BhoSw" data-element-type="image" class="zpelement zpelem-image "><style> @media (min-width: 992px) { [data-element-id="elm_If5nPiLXhyrjxUKH6BhoSw"] .zpimage-container figure img { width: 641px !important ; height: 466px !important ; } } </style><div data-caption-color="" data-size-tablet="" data-size-mobile="" data-align="left" data-tablet-image-separate="false" data-mobile-image-separate="false" class="zpimage-container zpimage-align-left zpimage-tablet-align-center zpimage-mobile-align-center zpimage-size-original zpimage-tablet-fallback-fit zpimage-mobile-fallback-fit hb-lightbox " data-lightbox-options="
                type:fullscreen,
                theme:dark"><figure role="none" class="zpimage-data-ref"><span class="zpimage-anchor" role="link" tabindex="0" aria-label="Open Lightbox" style="cursor:pointer;"><picture><img class="zpimage zpimage-style-none zpimage-space-none " src="/Screenshot%202025-09-15%20121023.png" size="original" data-lightbox="true"/></picture></span></figure></div>
</div><div data-element-id="elm_QId6jqqxWVRr0ps-McTQXw" data-element-type="divider" class="zpelement zpelem-divider "><style type="text/css"></style><style></style><div class="zpdivider-container zpdivider-line zpdivider-align-center zpdivider-align-mobile-center zpdivider-align-tablet-center zpdivider-width100 zpdivider-line-style-solid "><div class="zpdivider-common"></div>
</div></div><div data-element-id="elm_d41z9vnDgJ7AxvDcgSWXCw" data-element-type="heading" class="zpelement zpelem-heading "><style></style><h2
 class="zpheading zpheading-style-none zpheading-align-left zpheading-align-mobile-left zpheading-align-tablet-left " data-editor="true"><span style="font-size:26px;font-family:&quot;Noto Sans&quot;;color:rgb(85, 85, 85);font-weight:bold;">Why Use UNICHAR() in Power BI Reports?</span></h2></div>
<div data-element-id="elm_bNtMreerZ0FBmyLfI8YHJw" data-element-type="text" class="zpelement zpelem-text "><style></style><div class="zptext zptext-align-left zptext-align-mobile-left zptext-align-tablet-center " data-editor="true"><span><strong></strong></span><div><ul><ul><div><li><p>Enhances data visualization: Quickly show performance status with icons.</p></li><li><p>No custom visuals needed: Works directly with built-in Power BI visuals.</p></li><li><p>Highly customizable: Mix icons with text or apply conditional formatting.</p></li><li><p>Improves user experience: Makes reports more interactive and easier to interpret.</p></li></div></ul></ul></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px;"></blockquote></div>
</div><div data-element-id="elm_w2SkdNu-rpYfqCOvjIavZQ" data-element-type="heading" class="zpelement zpelem-heading "><style></style><h2
 class="zpheading zpheading-style-none zpheading-align-left zpheading-align-mobile-left zpheading-align-tablet-left " data-editor="true"><span style="font-size:26px;color:rgb(85, 85, 85);font-family:&quot;Noto Sans&quot;;font-weight:bold;">Example Use Cases</span></h2></div>
<div data-element-id="elm_EGlo66iJf4W9t5OlfEyuzg" data-element-type="text" class="zpelement zpelem-text "><style></style><div class="zptext zptext-align-left zptext-align-mobile-left zptext-align-tablet-left " data-editor="true"><p></p><div><p></p><div><p></p><div><p></p><span><li>✅ / ❌ for performance against target</li><div><li><p>▲ / ▼ for trend direction</p></li><li><p>⭐ for customer ratings or reviews</p></li><li><p>🔺 / 🔻 for KPI changes (growth vs. decline)<br/></p></li></div></span><p></p></div><p></p></div><p></p></div><p></p></div>
</div><div data-element-id="elm_ITcKXBRZHrky2PjpizBdEg" data-element-type="divider" class="zpelement zpelem-divider "><style type="text/css"></style><style></style><div class="zpdivider-container zpdivider-line zpdivider-align-center zpdivider-align-mobile-center zpdivider-align-tablet-center zpdivider-width100 zpdivider-line-style-solid "><div class="zpdivider-common"></div>
</div></div><div data-element-id="elm_J-LaXiLjrzITao68bkXdtg" data-element-type="heading" class="zpelement zpelem-heading "><style></style><h2
 class="zpheading zpheading-style-none zpheading-align-left zpheading-align-mobile-left zpheading-align-tablet-left " data-editor="true"><span style="font-size:26px;font-family:&quot;Noto Sans&quot;;color:rgb(85, 85, 85);font-weight:bold;">Final Thoughts</span></h2></div>
<div data-element-id="elm_wPVVc8yzbuTz5aHGN-64UQ" data-element-type="text" class="zpelement zpelem-text "><style></style><div class="zptext zptext-align-left zptext-align-mobile-justify zptext-align-tablet-justify " data-editor="true"><p></p><div><p></p><div><p></p><div><p></p><span><li>The UNICHAR() function in Power BI is a simple but powerful way to improve dashboard design and report readability. Adding icons with DAX not only enhances the visual appeal but also helps stakeholders interpret insights quickly</li></span><p></p></div><p></p></div><p></p></div><p></p></div>
</div><div data-element-id="elm_RM6Pf5mn2vA_XQ3DaWETTg" data-element-type="divider" class="zpelement zpelem-divider "><style type="text/css"></style><style></style><div class="zpdivider-container zpdivider-line zpdivider-align-center zpdivider-align-mobile-center zpdivider-align-tablet-center zpdivider-width100 zpdivider-line-style-solid "><div class="zpdivider-common"></div>
</div></div><div data-element-id="elm_Bso5n3rKrwPeGOrvB2cAXA" data-element-type="text" class="zpelement zpelem-text "><style></style><div class="zptext zptext-align-left zptext-align-mobile-left zptext-align-tablet-left " data-editor="true"><div><span><span><span></span></span></span></div><span><strong></strong><span><div><h3><span style="font-family:&quot;Noto Sans&quot;;font-size:16px;color:rgb(85, 85, 85);"><strong></strong></span></h3><span><strong style="font-style:italic;">Need help with Power BI&nbsp; Report ?&nbsp;</strong><a href="https://cal.com/chiamaka-igwe/30min" rel="">Book a Call with me&nbsp;</a></span><div><div><div><div><p></p></div><p></p></div><p></p></div><p></p></div><p></p></div></span></span></div>
</div></div></div></div></div></div> ]]></content:encoded><pubDate>Mon, 15 Sep 2025 10:38:20 +0000</pubDate></item></channel></rss>