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 / Date is not getting di...
Power Automate
Answered

Date is not getting displayed in the adaptive card

(1) ShareShare
ReportReport
Posted on by 184
Hi,
 
I have list of users with email addresses, Campaign start date and end date as mentioned below
To achieve this I have set the power automate as mentioned below
Inside Apply to each loop
Inside Adaptive post card
Inside Adaptive post card
 
But in the adaptive card, date is not getting displayed as mentioned below. Let me know if I am making mistake here
 
Regards,
 
Sudheer
 
Categories:
I have the same question (0)
  • Verified answer
    Tomac Profile Picture
    4,061 Moderator on at
    @NS-10041416-0 Looks like the problem is in two places: Your List Rows action and your addDays expression.
     
    Let's fix them one at a time.
     
    1. List Rows - you'll need to click Show Advanced Options on this action and in DateTime Format choose ISO8601:
     
    2. Now that the dates are being pulled correctly, you don't need to use addDays to modify them, just a formatdatetime() expression to change the date into the format you want:
    formatdatetime(items('Apply_to_each')?['CampaignEndDate'],'yyyy-MM-dd')
     
    And that's it! Should solve your problem. This is a common issue that users come to us with, that they were told to do by chatgpt. Please do not use that chatbot for Power Automate, it's really unreliable. If you must use a chatbot, CoPilot is much more reliable for Power Automate (though still regularly wrong - nothing replaces experience)
     
    If this comment resolved your issue, please remember to mark it as the answer.
  • Tomac Profile Picture
    4,061 Moderator on at
    @NS-10041416-0 Given you've moved on to other issues, please come back to this thread and mark the post below as the answer if this issue was resolved. This will help future people who have this problem to find the answer quickly.
  • NS-10041416-0 Profile Picture
    184 on at
    Hi @Tomac,
     
    I have made the changes as specified but no luck
     
    In Excel
     
    In Set Variable inside Column End Date
    Referred variable in the body of Adaptive card
    But unfortunately, below is the final outcome
  • Verified answer
    Tomac Profile Picture
    4,061 Moderator on at
    @NS-10041416-0 You need to use the expression editor, not entering the expression as plain text:
     
    Which, when finished, looks like this:

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 957

#2
Valantis Profile Picture

Valantis 847

#3
Haque Profile Picture

Haque 609

Last 30 days Overall leaderboard