web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Powerapps Modern Table...
Power Apps
Suggested Answer

Powerapps Modern Table Control conditional formatting

(2) ShareShare
ReportReport
Posted on by 4

Hi All!

 

I m searching for a while now to apply conditional formatting to a modern table control. Is there an option?

 

What I want to do e.g. is to change the color of all Prio 1 topics to red in the column "_priority".

Bildschirmfoto 2024-06-22 um 00.29.45.png

Is there a way to do that?

 

Thx,

Chris

Categories:
I have the same question (0)
  • Sunil Kumar Pashikanti Profile Picture
    1,602 Moderator on at

    Hi @HAL9K1 ,

     

    Conditional formatting in Power Apps can enhance the visual representation of data. While the modern table control doesn’t have built-in conditional formatting options, you can achieve this effect using formulas. Here’s how:

     

    Color Formatting Based on Priority:
    Let’s assume your “_priority” column contains values like “1” “2” etc.
    In your modern table control, set the color property of the relevant cell to a formula that checks the priority value and assigns a color accordingly.
    For example, if you want “1” topics to appear in red, use the following formula:


    If(ThisItem._priority = "1", Red, White)


    Adjust the color names or HEX codes as needed.


    Applying the Formula:
    Select the cell or text label within your table control.
    In the “Color” property, enter the formula above.
    When the “_priority” value matches “1,” the cell will turn red; otherwise, it remains white.


    Remember to adapt the formula to your specific column names and priorities.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Sunil Pashikanti - Tech Blog: PowerApps

  • ID-27081604-0 Profile Picture
    41 on at
    Hi Sunil,
     
    I am confused, as in my version, there is no Color property for the fields in modern table control. Can you please elaborate, where I can perform the conditional setting?

    Many thanks,
     
    Igor.

  • Suggested answer
    CamiloLuque Profile Picture
    228 on at
    Hi Chirs. Sorry, but this control haven't any customization for the cells, look: Table control in Power Apps - Power Apps | Microsoft Learn

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard