cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Catch changing input

Hello! 

I'm developing a PowerApp based on PowerBI integration. 

I need to be able to catch whenever the value i'm getting changes. 

So when the input changes from one string to another, i need to automatically change the value of a variable. 

Is there anyone that could give me some advice on how to approach this? 

2 REPLIES 2
Highlighted
Anonymous
Not applicable

Re: Catch changing input

You can for example use the OnChange of a Text input to set the variable:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/properties-core

 

Set( nameofvariable, valueofvariable )

 

And set the DisplayMode of the Text input to View if the information is not input of a user, but simply displaying information.

Highlighted
Frequent Visitor

Re: Catch changing input

That was my first thought as well but i couldnt get it to work. 

I set the Default of the Text input to:

Last([@PowerBIIntegration].Data).'Dimension'

Then the onChange to:

Set( name, value )

The value clearly changed but the onChange control did not set off and change the variable...
Any clues?

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (5,781)