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 / 引用数据表或者列表元素问题
Power Automate
Answered

引用数据表或者列表元素问题

(0) ShareShare
ReportReport
Posted on by 4

当我引用一个数据表中的一个元素时,我用%DATA[0][1]%、%DATA[1][0]%、%DATA[3]%、%DATA[4]%等格式可以,但是我把单位元素的下标设置为%DATA[%index%]%,  %index%为确定的数字变量时却提示为无效值,请问这个怎么解决!

I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I believe it's a syntax issue. 

    Try %DATA[Index]% instead of %DATA[%Index%]%.

    Also, assure Index is a number. Depending on how it's defined, variables in PAD are stored as text. If that's the case, use 'Convert text to number'

  • xuwenhong Profile Picture
    4 on at

    确实是您说的两个%%之间的变量都不需要%号了,完美的解决问题,谢谢

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 450

#2
Haque Profile Picture

Haque 366

#3
Valantis Profile Picture

Valantis 349

Last 30 days Overall leaderboard