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 / compare SQL DB Date Fi...
Power Apps
Answered

compare SQL DB Date Field with today

(0) ShareShare
ReportReport
Posted on by 228

Hello,

 

i have a Aure SQL DB with a Date Field und would compare it with the current today to get all record

only from today.

 

My Formular:

Filter(
'[dbo].[SQL_DB]';
Today() = dateTable And

MemberNumber = "007"
)

 

This gives me 0 records back

 

Has anyone an idea?

 

Thanks

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Tamer66 

     

    Can you try to update your expression as:
     
    Filter(
    '[dbo].[SQL_DB]';
    
    DateValue(Text(dateTable)) = Today() &&
    MemberNumber = "007"
    )

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Verified answer
    v-yuxima-msft Profile Picture
    on at

    Hi @Tamer66 

     

    Could you please test with @yashag2255 's suggestion?

    And you can also change the formula expression as this:

    Filter(
    '[dbo].[SQL_DB]';
    Text(Today())= Text(dateTable) And

    MemberNumber = 007
    )

     

    Best Regards.

    Yumia

  • pathakanuj30 Profile Picture
    11 on at

    Hi I have used this formula and it worked. But getting the delegation warning how to avoid that warning ?

     

    DateValue(Text(ThisRecord.AssignedTo_UpdatedDate)) < Today() )})

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard