cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate I
Advocate I

Set multiple variables to blank

Hello!

 

Is it possible to set multiple variables to blank? So I don't want to do this:

 
Set(testVar1, Blank());
Set(testVar2, Blank());
Set(testVar3, Blank());
But something like this :
Set(testVar1, testVar2, testVar3, Blank());
 
Maybe there is a solution I didn't think of yet? I just have a feeling this should be possible, but I can't find out how.
 
Thanks
1 REPLY 1
Helper II
Helper II

maybe like this

Set(multivars,{abc:"",bbc:"",cbc:"",dbc:"",ebc:""})

ClearCollect(multivars,{abc:"",bbc:"",cbc:"",dbc:"",ebc:""})

 

Depends on how you want to use

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (8,983)