Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

Template Fill on Gallery based on IF Statemented

(0) ShareShare
ReportReport
Posted on by 56

Hi, new to this and have built an App, which uses Sharepoint Lists as data sources. I'm using a gallery & have successfully included Template Fill on selected item. 

If(ThisItem.IsSelected, ColorFade(LightBlue,.5);

 

I also have a status column in the SPL which shows items as either "Active" or "Expired" I would like to indicate the selected Items, which have the "Expired" status in red when selected. Despite several (way too many to confess) attempts I've been unsuccessful in either joining the 1st If statement or adding an additional statement to do this......

 

Any assistance would be much appreciated

  • JR-BejeweledOne Profile Picture
    JR-BejeweledOne 5,836 on at
    Re: Template Fill on Gallery based on IF Statemented

    Your If statement should look like this:

     

    If(
     ThisItem.Status = "Expired", Red,
     ThisItem.IsSelected, ColorFade(LightBlue,.5)
    )

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard