Hi helpful Community-World,
currently I'm trying to make a simple Power App in Power BI:
I wanna use a Filter in Power BI like this:
Tracker #1, Tracker #2, Tracker #3 etc
Everytime when I use my Filter in Power BI I wanna see regarding Numbers in my PowerApp TextInput Box and in my Slicer.
I've already the following setup:
TextInput1 Box:
"OnChange":
UpdateContext({dataValue1:Value(TextInput1.Text)})
"Default":
Value(dataValue1)
Slicer1:
"OnChange":
UpdateContext({dataValue1: Slider1.Value})
"Default":
Value(dataValue1)
So where can I set for my UpdateContex variable "dataValue1" an initial value dependent of my Power BI Filter (Tracker #1, Tracker #2...) ?
So it should work like this:
1. Open the PowerApp in PowerBi: I can see the last setup of my slicer and textInput of last Number (coming from PowerBI Fields)
2. I change the numbers in Power App
3. Send out the numbers with a button
In my screenshot you can see my Tracker Filter (green marked), the last setup numbers (red marked) and my Problem in PowerApps (blue marked). The blue marked numbers should be the same like the red marked numbers (when I'm using my Tracker Filter and see the last setup of each one).
When I use the following Formula - UpdateContext({dataValue1: First(PowerBIIntegration.Data).'Heartbeat Sendeintervall'}) - in my first Screen "Home" in "onVisible" it works with the first selected Tracker in Power Bi, but when I filter to another Tracker, there's no Update of the number dependent of the seleced Filter.
Hopefully you can understand my Problem.
Maybe in short:
I need to find a way to "reset" my variable dependent of my Power Bi selection.
Thank you!
BR,
Sven

Report
All responses (
Answers (