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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 310 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 228

Last 30 days Overall leaderboard