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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
acanepa
Resolver I
Resolver I

Parameters & PowerApps & RestAPI

Hi,

 

I'm generating dashboard that analyzes a particular client overall views. The data is loaded through SQL queries with parameters defined in PowerBI desktop. 

 

Analyze a different client involves changing the parameter in PBI desktop and load the data again. (Around 2 min)

 

I have used Excel as a collector of parameters to change data into a dashboard as the following video explains:

https://www.youtube.com/watch?v=iiNDq2VrZPY

 

But the problem is that only one person can use report at the time and you need to give admin permissions to the users.

Is there a way to use Rest API or another method where I can pass parameters?

 

My idea will be the following in terms of a flow:

 

1. Users type the client they want to investigate in PowerBI service (or online)

2. PBI send a request to SQL server for the required User.

3. SQL retrieves the data a PBI saves into the report

 

I'm wondering if I can use Data Connectivity Mode on Import rather than Direct Query to this Job.

 

Finally, it will be possible to leverage PowerApps to pass the parameters for making the queries?

 

Regards,

 

 

2 REPLIES 2
v-caliao-msft
Employee
Employee

@acanepa,

 

So why not get all data in Power BI and add client column into a slicer, then user can analyzes particular clients data? 

 

I'm wondering if I can use Data Connectivity Mode on Import rather than Direct Query to this Job.
Yes, we can use import mode in this scenario.

 

Regards,

Charlie Liao

Hello,

 

I can do that but the quantity of data is massive and that's why I'm trying to avoid bringing all the data.

 

My idea is using PowerApps to pass a filter into SQL databases as a parameter.

 

 

 

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Power BI Header Change

Power BI Header Update

Read about the exciting updates for the Power BI forum.

Top Solution Authors
Top Kudoed Authors