Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
NightSpeedOne
New Member

Power BI

I am trying to use a value passed from Power BI to Power Apps and based on that value navigate to the correct screen. The issue is that, even though I can see the value and display it with a Notify without the navigate, as soon as I add the Navigate(), I lose the value. I also tried the StartScreen.

###OnStart

Set(varPBIScreenId,
    If(
            IsBlank(
                    Text(First([@@PowerBIIntegratio].Data).Screen)
                    ),
                    "0",
                    Text(First([@PowerBIIntegration].Data).Screen)
    )
);
If(
    varPBIScreenId = "1",
    Navigate(PAM_Profile_User),
    varPBIScreenId = "2",
    Navigate(PAM_Absence_Patch),
    varPBIScreenId = "3",
    Navigate(PAM_Profile_SideList),
    Navigate(PAM_Absence_Patch)
);
 
#### StartScreen
If(
Value(First([@PowerBIIntegration].Data).Screen) = 1,
PAM_Profile_User,
Value(First([@PowerBIIntegration].Data).Screen) = 2,
PAM_Absence_Patch,
Value(First([@PowerBIIntegration].Data).Screen) = 3,
PAM_Profile_SideList,
PAM_Profile_SideList
)
1 ACCEPTED SOLUTION

So you got me thinking about delay, while seaching and not finding a delay function I did find timer and it has auto start and onend. So I moved the timer to a splash screen and set it for 1 second and then added the navigate to the onend. Works perfect.

View solution in original post

5 REPLIES 5
lbendlin
Super User
Super User

a value passed from Power BI to Power Apps

How are you passing that value?  Via the PowerApps visual?

Using the Power BI intergrated visual for Power Apps, insert the visual and then navigate to the power apps and edit the power apps, which creates the PowerBIIntegration object. I can use the value in a page and use notify to display it. As soon as I add Naigate to the OnStart the same Notify (Before the Navigate) is blank.

 

NightSpeedOne_0-1734695343558.png

 

Maybe OnStart is too soon.  See if you can use a different event, or a delay.

So you got me thinking about delay, while seaching and not finding a delay function I did find timer and it has auto start and onend. So I moved the timer to a splash screen and set it for 1 second and then added the navigate to the onend. Works perfect.

Anonymous
Not applicable

Hi,@NightSpeedOne 
We are absolutely delighted to hear that the issue has been resolved. If you’re inclined, you might consider accepting this solution, as it could also assist other community members facing the same problem, enabling them to find a resolution more swiftly
.
 

vlinyulumsft_0-1734934167019.png

 

Of course, if there is anything else we can do for you, please do not hesitate to contact us.

Looking forward to your reply.

Best Regards,

Leroy Lu

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors