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 Automate / HOW TO GET DUE DATE "I...
Power Automate
Answered

HOW TO GET DUE DATE "ITEM" COLUMN ONLY IN FLOW OUTPUT TO MY MAIL.

(0) ShareShare
ReportReport
Posted on by 18

Here is excel file with  three column date(Today()),due date and item.

 

my excel file.PNG

my flow looks like this:

1st step.PNG

2nd stem.PNG

Its output on my mail look like :

 

output.PNG

 

 

  

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,998 Most Valuable Professional on at

    Hi @rohit7373 

     

    You need to convert the number to a date using the below expression.

     

    addDays('1899-12-30',int(item()?['due date']),'yyyy-MM-dd')

     

  • rohit7373 Profile Picture
    18 on at

    @abm sir, can I use this code too : @equals(formatDateTime(items('Apply_to_each')?['DUE DATE'],'dd-MM-yyyy'),formatDateTime(utcNow(),'dd-MM-yyyy'))

     

    I also wanted to know that why you have used 1899-12-30 there.

     

    Thanking you

    Rohit Kumar

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @rohit7373 ,

     

    Because the value of the date field in the Excel table will be a number in Flow, we need to restore number to date first.

    Please refer to this similar thread:

    Solved: Excel file to list flow: date issue - Power Platform Community

     

    Best Regards,

  • rohit7373 Profile Picture
    18 on at

    @v-bacao-msft @ sir,

    Can I use this code too : @equals(formatDateTime(items('Apply_to_each')?['DUE DATE'],'dd-MM-yyyy'),formatDateTime(utcNow(),'dd-MM-yyyy'))

     

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @rohit7373 ,

     

    Please try to fill the following expression in Filter array:

    @equals(addDays('1899-12-30', int(item()?['duedate']), 'yyyy-MM-dd'), utcNow('yyyy-MM-dd'))

     

    Best Regards, 

  • abm abm Profile Picture
    32,998 Most Valuable Professional on at

    Hi @rohit7373 

     

    Can I use this code too : @equals(formatDateTime(items('Apply_to_each')?['DUE DATE'],'dd-MM-yyyy'),formatDateTime(utcNow(),'dd-MM-yyyy'))

     

    Did you tried the above expression? What result you got?

     

    Excel stores the date in numeric digits that's the reason we need to use the other expression which I suggested. 

  • rohit7373 Profile Picture
    18 on at

    sir, all above logic is perfectly working but i am not able to take out "item" b after array filter:

     

    rohit7373_0-1597720956095.png

    here is the over view:
     

    Capture.PNG

    Now i want to take out this "item:"b" as my output ,how to do it?

     
     

     

  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    HI @rohit7373 ,

     

    Please try the following method:

    14.PNG

     

    Best Regards,

  • rohit7373 Profile Picture
    18 on at

    I am getting error when i use this expression.

     

    rohit7373_0-1597746239000.png

    rohit7373_0-1597746759031.png

     

     

     

     

     

  • rohit7373 Profile Picture
    18 on at

    GREAT THANK YOU,BUT STILL SOME PROBLEMS REMAINS PLEASE RESOLVE .

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 Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard