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?
Solved! Go to Solution.
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.
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.
User | Count |
---|---|
180 | |
119 | |
87 | |
44 | |
43 |
User | Count |
---|---|
247 | |
156 | |
127 | |
78 | |
73 |