cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ungarala1
Helper V
Helper V

How to combine results of multiple update context varibles

I have created 3 buttons using update context.. results are showing  status of inprogress, not started, waiting feedback.. I want to combine all 3 and show the result in gallery.

How to combine 3 buttons data as one?

3 REPLIES 3
WarrenBelz
Super User
Super User

Hi @Ungarala1 ,

Assuming your Variables are Text, it would be (with spaces in between) 

variable1 & " " & variable2 & " " & variable3

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

it showing only last variable data only

 UpdateContext({varStatus:"NotStarted"});UpdateContext({SelectedButton:12}) & " "& UpdateContext({varStatus:"InProgress"});UpdateContext({SelectedButton:7})

@Ungarala1 ,

I don't know exactly what you are doing here, but the syntax to join two items is below.

UpdateContext(
   {
      varStatus:
      "Not Started" & " " & "InProgress"
   }
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

Helpful resources

Announcements
Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (1,823)