Notifications
Announcements
My datable has 5 rows and 2 columns,
how can i get first row data of 2nd column?
Like this:%datatable[0][1]%
first square brackets which has 0 in it means row and the rows start from 0. Then the second square brackets is columns and 1 means second column since that too starts from 0.Example here:
from this datatable we want to get value from first row second column which would be "Norris".
Hi @MitheshRpa
Let's assume our datatable having the below values(Row Index starts always with 0):
Then our approach to access first row for second column would be like below:
%DataTable[0]['Capital']%
Thanks,Deenuji Loganathan 👩💻Automation Evangelist 🤖Follow me on LinkedIn 👥 -------------------------------------------------------------------------------------------------------------If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 501 Super User 2025 Season 2
Tomac 323 Moderator
abm abm 237 Most Valuable Professional