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 Automate / Set Variable to create...
Power Automate
Unanswered

Set Variable to create Date Table is Empty, Even When I Follow Format

(0) ShareShare
ReportReport
Posted on by 11
I can't figure out what I am doing incorrectly. I am wanting to create a Data Table from a set variable. As you can see on the side, it says it created 0 rows and 0 columns. Even though it isn't pictured, at the end it had ' }% ' Can I please get help with this? I am not getting any synax errors. Thank you!
I have the same question (0)
  • Suggested answer
    VishnuReddy1997 Profile Picture
    2,656 Super User 2025 Season 2 on at
     
    Please find the solution. You can see 4 rows and 3 columns has been created.
     
     
    Set Variable syntax.
     
    Just try editing this below one by copy pasting.
     
    %{ ^['StartDate', 'EndDate', 'YN'], ['03-08-1997', '04-09-2020', 'Yes'], ['03-08-1987', '04-09-2000', 'No'], ['03-08-1999', '04-09-2024', 'Y'], ['03-08-1997', '04-09-2025', 'N'] }%
     
     
    (Note:- if you got your solution you can mark as solution and gives kudos)
     
    Thanks & Regards
    Vishnu Reddy
     
     
  • KN-10020535-0 Profile Picture
    11 on at
     
    I tried copying and pasting what you suggested and it still isn't working! I don't know if I just have a bug or something?
  • Verified answer
    KN-10020535-0 Profile Picture
    11 on at
    @VishnuReddy1997 Never mind! I found it couldn't be in a subflow and then it worked. Thank you for your time! Take care. 
  • VishnuReddy1997 Profile Picture
    2,656 Super User 2025 Season 2 on at
     
    No problem.Thank you if it solved your problem please mark it as a solution.
     
    Regards,
    Vishnu Reddy

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard