Announcements
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?
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.
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?
I know this is an old post, but since it hasn't been solved, I thought I'd share what I was able to do. It may be a bug in PowerApps, as I stumbled over this by accident, but a combo box OnChange() event is triggered by a change in PowerBIIntegration.Data change. I added a hidden one that set a few variables when it was changed and it's all working well now.
Is this still working for any of you, or was it in fact a 'bug' that's been changed? I tried to implement it to no avail.
The app I built at the time is still working with it, you might have me a bit worried that I don't want to change anything and break it though.
It’s very possible that I have a mistake on my end
I can confirm that it still works on 25th of April 2023.
The only thing that i had to add was a value to the "DefaultSelectedItems" Property of the Combobox (fe. First(PowerBIIntegration.Data).
It seems to me that "OnChange" Event of the Combobox Element is only triggered then!
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 393 Super User 2026 Season 2
Mohsin Ali 328
WarrenBelz 278 Most Valuable Professional