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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
JemmaD
Helper V
Helper V

Conditional Formatting rules on cell value

Hi there,

I have a table with [Country], [Score] and [Difference].

The [Difference] column contains only -1, 0 and 1. If the Score is higher than the previous year it holds a 1, if it's the same then 0 and if it's lower than the previous year it holds -1. This field is a text column so I could use it to create conditional formatting icons for up, down and side arrows.

If it's a number column I cannot use this field as it simply counts and I cannot use the Field value, only Rules. 

The icons work but only if the [Difference] column is exposed in the table, but I don't want it in there - I just want to hold the icon against the [Score] column to show where it sits compared to the previous year. 

How do I get icons to work against this field without exposing the field in the visualisation?!?

1 ACCEPTED SOLUTION
Akash_Varuna
Super User
Super User

Hi @JemmaD , You could use conditional formating please try these 

  • Apply Conditional Formatting:

    • Select [Score] in the table visual.
    • Go to Conditional Formatting > Icons and set rules:
      • 1→ Up Arrow (green).
      • 0→ Neutral Arrow (yellow).
      • -1→ Down Arrow (red).
  • Remove [Difference] from the Visual:

    Conditional formatting will still work even if [Difference] is not visible.
    If this post helped please do give a kudos and accept this as a solution
    Thanks In Advance

 

 

View solution in original post

2 REPLIES 2
Akash_Varuna
Super User
Super User

Hi @JemmaD , You could use conditional formating please try these 

  • Apply Conditional Formatting:

    • Select [Score] in the table visual.
    • Go to Conditional Formatting > Icons and set rules:
      • 1→ Up Arrow (green).
      • 0→ Neutral Arrow (yellow).
      • -1→ Down Arrow (red).
  • Remove [Difference] from the Visual:

    Conditional formatting will still work even if [Difference] is not visible.
    If this post helped please do give a kudos and accept this as a solution
    Thanks In Advance

 

 

Hi @Akash_Varuna 

 

I'm afraid that is what I am reporting as not being able to do. 

This is what I have in conditional formatting:

JemmaD_3-1738757665125.png

It won't let me change 'First Difference' to anything else.

 

This is the result when Difference is in the table:

JemmaD_1-1738757165916.png

This is the result when I take it out:

JemmaD_2-1738757190900.png

 

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.