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 / Canvas App - Datatable...
Power Apps
Unanswered

Canvas App - Datatable display today date

(0) ShareShare
ReportReport
Posted on by 538

I am having follwing datatable display in the canvas app .

Table name : Managerview

AVTS_1-1619973491731.png

 

Requirement1:

 

I wanted to display records which is created on today date only.

 

Requirement 2:

I wanted to display the yesterday qty for same MaterialNo also.

 

AVTS_3-1619973629056.png

 

 

 

Categories:
I have the same question (0)
  • Sid_Jafri Profile Picture
    478 on at

    Hi @AVTS ,

    You can achieve first requirement through this

    Filter(datasource, Text('Created On',ShortDate) = Text(Today(), ShortDate))

    Regarding second requirement, you need the quantity of yesterday for same material as column or want to bring the previous day record of same material as a row?

     

    Please Thumbs up if my post helped you solve your issue.

     

  • AVTS Profile Picture
    538 on at

    Thanks for your quick support.

    I am evaluating for both below,

    1,quantity of yesterday for same material as column 

    2,want to bring the previous day record of same material as a row

  • Sid_Jafri Profile Picture
    478 on at

    Hi @AVTS ,

    This how you can add as a row
    ClearCollect(colMaterial, Filter(Datasource, Text(Created, ShortDate) = Text(Today(), ShortDate)));
    ClearCollect(colMaterialPrevious, Filter(Datasource, Text(Created, ShortDate) = Text(DateAdd(Today(),-1), ShortDate) && mno in colMaterial.mno));
    ClearCollect(colMaterialMerge, colMaterial, colMaterialPrevious)

    use the colMaterialMerge as source for your gallery

    Below for Add as column
    ClearCollect(colMaterial, Filter(Test, Text(Created, ShortDate) = Text(Today(), ShortDate)));
    ClearCollect(colMaterial,AddColumns(Filter(datasource, Text(Created, ShortDate) = Text(DateAdd(Today(),-1), ShortDate) && mno in colMaterial.mno),"Previous mno", mno));
    User the colMaterial for your gallery

     

    Please Thumbs up if my post helped you solve your issue.


  • Sid_Jafri Profile Picture
    478 on at

    @AVTS 


    Please let me know if that works, please mark this resolved so others can benefit

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard