Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

How to initiate variable of multidimensional (associative) array?

I want to initiate a variable of multidimensional (associative) array.

I want to set variable using "Apply to each" to generate like the below array, but before that I need to initiate array, fitst.

How to do this? Thank you for your help.


$array = {[0]["Name0","Content0"], [1]["Name1","Content1"], [2]["Name2","Content2"]}...


Helpful resources

MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (2,043)