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 / Dataverse/Edit Form/Ta...
Power Apps
Unanswered

Dataverse/Edit Form/Table/Gallery Date Range Questions

(0) ShareShare
ReportReport
Posted on by 4

Hello everyone,

 

I'm hoping someone may assist me in figuring out the coding I need for the power app I'm developing. I have an edit form that has two data cards listed Start Date and End Date. I need to figure out a way to format a gallery with this edit form data to highlight everything red after the end date is reached based on the users computer's date and in turn highlight the same gallery to highlight green when the dates are today from start to end date. Does anyone know a way to accomplish this? I am able to do so working with one date, but I am having issues figuring it out when there is a date range.

 

Also, another side note which is not as important at this time does anyone know if there's a way in Powerapps when submitting an edit form with date ranges to have a gallery add multiple records based on the date range.

 

FYI - I am using the Dataverse currently to store and manipulate the data.

 

 

I have the same question (0)
  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @Michael_S89 

     

    The following worked for me looking at the two fields and changing the fill appropriately of the field in the gallery.  Hopefully this is what you are looking to do.

    1. If Date is < Start Date then it will not do any fill, sets to parent's value
    2. If between the dates it will color it green
    3. if > end date, it will color red

    Screenshot 2024-04-13 at 5.46.31 AM.png

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 525 Most Valuable Professional

#2
Haque Profile Picture

Haque 273

#3
Kalathiya Profile Picture

Kalathiya 232 Super User 2026 Season 1

Last 30 days Overall leaderboard