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 / 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
    Microsoft Employee 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard