web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerBIIntegration - U...
Power Apps
Unanswered

PowerBIIntegration - Updating UpdateContext Variable while filtering Data in PowerBI

(0) ShareShare
ReportReport
Posted on by 119

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).

 

2020-10-14 20_39_07-Allgemein (P3_Werkzeugtracking) _ Microsoft Teams.png

 

2020-10-14 21_00_55-DeviceConfigPBI - Power Apps.png

 

 

 

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

 

 

 

 

Categories:
I have the same question (0)
  • P3Sven Profile Picture
    119 on at

    Nobody? 😕

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard