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

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!
SetVariable.png
I have the same question (0)
  • Suggested answer
    VishnuReddy1997 Profile Picture
    2,656 Super User 2026 Season 1 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 2026 Season 1 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

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 959

#2
Valantis Profile Picture

Valantis 872

#3
Haque Profile Picture

Haque 589

Last 30 days Overall leaderboard