cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JonathanGibbs
Advocate III
Advocate III

Pass a query parameter to a Power BI tile? (not filter parameter)

I have a PowerBI report that uses a parameterised query in SQL Server (a tabular function). I can create a parameter in PowerBI and successfully pass its value to SQL Server by modifying the query in PowerBI using Advanced Editor. When I change the parameter within PowerBI and refresh, the incoming data changes. All good.

I want to use the report in a Power App. Can I expose this parameter to the embedded Power BI tile functionality in Power Apps?

I know I can parameterise a filter by manipulating the TileURL property, but that's not the question. It looks from this that a query parameter can be passed using the syntax rp:<paramname>=<paramvalue> but I can't get that to work in the TileURL.

Before anyone asks why do this - there's some  pretty heavy lifting going on in the query which is achieved much faster in TSQL before any filtering kicks in. And yes, I could get PowerApps to write the parameters to a utility table in the database before firing the PowerBI report, and use that within the query: but this is not ideal with multiple users.

0 REPLIES 0

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (1,707)