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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.