Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a report that uses several power apps visuals. I was working with the primary PA visual and making changes to the PA app using the protocol of loading the PBI file (in service editor), changing to edit mode, navigating to page containing PA visual, selecting PA visual, clicking elipsis of said visual, clicking edit from popup menu.
This process has worked fine across dozens of edits, saves, publishes until now. Now when after publishing the updates the report no longer passes the field from the selected record into the PA visual. The incredibly frustrating part is that even in its current state when I repeat this protocol the powerBI object inside the power app file receives the passed field correctly.
I reverted the PA file to an older version hoping this would reverse the problem but it did not. I am convinced that the problem is in power bi
Does anyone know how to repair this bug?
Solved! Go to Solution.
Well FML. I ran another test on the power app and it seems the powerbiintegration.data is receiving the passed opportunity_id. I explicitly sent the data to the header and it was displayed. I har relied on examinig the variables in the code after execution prior. Thus I have created this situation within my own code somewhere.
Thank you for spending your time attempting to help me.
1. Clear your browser cache and republish the report to Power BI Service.
Done. No change in failure
2. Ensure that the data source connections in both Power BI and Power Apps are correctly configured and have not been disrupted.
Not sure how to do that, but 'Refreshed' data a coupe times. No change in failure.
3. After editing the Power App Visaul and publishing it, refresh the report again in Power BI Service.
Done. No change in failure
4. Try removing Power App Visual and re-adding it to see if the problem persists.
Done. No change in failure
Images
Below shows a table visual with yellow background displaying the record to be loaded into power app by passing opportunity_id. The Power app visual has golden background and as shown has an empty Opp. Id. (PBi Service)
\
Below is a snip from PBi desktop showing the power apps visual highlighted and the field passed to the visual, 'Opportunity_ID'
Below is another tab showing a table visual with yellow background displaying the record to be loaded into a different power app by passing opportunity_id. The Power app visual has green background and as shown has correctly filled out Opportunity Id. (PBi Service). These two power app visuals are in the same report.
Below is PBi desktop after I re-added the power app into the page. THe top yellow table displays the selected record, Opp Id 4, The bottom golden power app visual shows an empty Opp. ID. I have highlighted all opportunity_id fields.
Below loading the report in browser, displaying connection error messages.
Below Showing app within power app editor showing the Opportunity_ID that was selected when the pa visual was selected and then it's elipsis clicked and 'edit' choosen.
Still not working and still no solution.
Well FML. I ran another test on the power app and it seems the powerbiintegration.data is receiving the passed opportunity_id. I explicitly sent the data to the header and it was displayed. I har relied on examinig the variables in the code after execution prior. Thus I have created this situation within my own code somewhere.
Thank you for spending your time attempting to help me.
This in fact was not the solution.
Hi @ShinyIon
Please try the following steps to troubleshoot and solve the problem:
1. Clear your browser cache and republish the report to Power BI Service.
2. Ensure that the data source connections in both Power BI and Power Apps are correctly configured and have not been disrupted.
3. After editing the Power App Visaul and publishing it, refresh the report again in Power BI Service.
4. Try removing Power App Visual and re-adding it to see if the problem persists.
Here is a similar case for your reference: Solved: Power App Visual in PowerBI doesn't update - Microsoft Fabric Community
Check out this link to learn the limitations of Power App Visual: https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/powerapps-custom-visual#limitations-o...
Best Regards,
Jarvis Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Wow thanks for the speedy reply I'll try this out and report back.