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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Pass parameter from Ca...
Power Apps
Unanswered

Pass parameter from Canvas App into Power BI tile connected to a SQL Stored Procedure

(2) ShareShare
ReportReport
Posted on by 41
 
Good day,
I'm working on integrating the Power BI in our Power Apps. After some research we've managed to connect our SQL Stored Procedure in Power BI by changing the Power Query and adding a parameter LoggedUser in Power BI. The Stored Procedure only accepts 1 parameter named @LoggedInUser_DomainId in SQL.
 
 
 
In Power Apps, I've used the Power BI Tile then add the URL from the Power BI Report I've created after publishing it. I've added a combobox with different names that was supposed to be passed in Power BI as a value for the LoggedUser then click run and the stored procedure inside the Power BI will run and refresh the report shown in Power Apps screen.
 
 
I found out you can filter the current data set shown in Power BI tile by concatenating the URL with
&filter=PowerResult/LoginId eq '"& SelectedUser &"'"
 
SelectedUser is the variable set whenever I'm hitting the Run button that gets the current selected name in ComboBox.
But this approach only filters the current dataset shown in Power BI and it's not running the Stored Procedure connected to it again to refresh the data.
 
 
The properties of Power BI tile inside Power Apps are like this:
AllowNewAPI = true
LoadPowerBIContent = true
PowerBIInteractions = true
Reset = false
 
 
I'm not sure how to approach this. Any suggestions?
Categories:
I have the same question (0)
  • Suggested answer
    stampcoin Profile Picture
    5,058 Super User 2025 Season 2 on at
    When you want the sp to reflect your invocation, considering create another sp to interaction your current sp.
  • RazenCee Profile Picture
    41 on at
    @stampcoin Hi, I'm not sure what you mean. Can you provide an example? 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard