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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors