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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
MaxItaly
Helper III
Helper III

iframe embedding code to filter data by customer

Hello everyone,

I'm not very accostumed to the embedding of a report via the iFrame code that is generated by Power BI when you click on "Publish to web", so I'd like to ask if what I'd like to is possible, or not.

 

These are my presuppositions:

let's say that I have a site where customers can log-in, and customers don't have a Power BI account. but I have a Pro account.

I'd like to publish a report on my site that shows filtered results (let's say, customers = "Customer A") depending on the customer who logged in (i.e. the customer only sees his data).

 

I am quite sure that this is achievable, but not with my presuppositions.

1) This configurations implies an "App owns data" configuration, right (and the use of "Power BI Embedded")?
2) And this would therefore imply that I'd need to own a Premium Account to do such a thing?

3) With an "User owns data" configuration, every customer would need a Power BI pro account (and I'd need to use REST APIs)?

 

Thanks to everyone who can give me an hint about this.

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee


@MaxItaly wrote:

Hello everyone,

I'm not very accostumed to the embedding of a report via the iFrame code that is generated by Power BI when you click on "Publish to web", so I'd like to ask if what I'd like to is possible, or not.

 

These are my presuppositions:

let's say that I have a site where customers can log-in, and customers don't have a Power BI account. but I have a Pro account.

I'd like to publish a report on my site that shows filtered results (let's say, customers = "Customer A") depending on the customer who logged in (i.e. the customer only sees his data).

 

I am quite sure that this is achievable, but not with my presuppositions.

1) This configurations implies an "App owns data" configuration, right (and the use of "Power BI Embedded")?
2) And this would therefore imply that I'd need to own a Premium Account to do such a thing?

3) With an "User owns data" configuration, every customer would need a Power BI pro account (and I'd need to use REST APIs)?

 

Thanks to everyone who can give me an hint about this.


@MaxItaly

For "Publish to web", you can't append a filter parameter to the report url. Your understanding is right, for the customers who have no Power BI accounts, Embedding with non-Power BI users (app owns data) is definitely for this scenario. You need a Premium licence. As to showing filtered result, either using Power BI Javascript Filter or the securable approach Row Level Security.

View solution in original post

5 REPLIES 5
Eric_Zhang
Microsoft Employee
Microsoft Employee


@MaxItaly wrote:

Hello everyone,

I'm not very accostumed to the embedding of a report via the iFrame code that is generated by Power BI when you click on "Publish to web", so I'd like to ask if what I'd like to is possible, or not.

 

These are my presuppositions:

let's say that I have a site where customers can log-in, and customers don't have a Power BI account. but I have a Pro account.

I'd like to publish a report on my site that shows filtered results (let's say, customers = "Customer A") depending on the customer who logged in (i.e. the customer only sees his data).

 

I am quite sure that this is achievable, but not with my presuppositions.

1) This configurations implies an "App owns data" configuration, right (and the use of "Power BI Embedded")?
2) And this would therefore imply that I'd need to own a Premium Account to do such a thing?

3) With an "User owns data" configuration, every customer would need a Power BI pro account (and I'd need to use REST APIs)?

 

Thanks to everyone who can give me an hint about this.


@MaxItaly

For "Publish to web", you can't append a filter parameter to the report url. Your understanding is right, for the customers who have no Power BI accounts, Embedding with non-Power BI users (app owns data) is definitely for this scenario. You need a Premium licence. As to showing filtered result, either using Power BI Javascript Filter or the securable approach Row Level Security.

I really hoped there was an alternative solution...

Thanks for confirming my point, which I was not sure about it.

Hi,

I have the same doubt as yours.
Were you able to find a solution to your problem?

Hi,

with a Pro license that is impossible.

You need a premium license to do that (and several different skills from the simple report making).

 

Luckily, what wanted to achieve wasn't a must for my business, so we didn't do that in the end.

 

I am afraid there is still not a Pro solution to this problem.

Okay.
Thank you very much.

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.