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

Notifications

Announcements

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 Pashikanti Profile Picture
    736 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
    157 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard