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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
robtaylor
Frequent Visitor

Pattern for supporting customisable fields

Hi,

 

I work for a company which produces an app for an existing product which is in the azure marketplace. The product contains a "Account" table which allows custom fields to be created by our customers. For example, I might want to add a field for "Priority" to show how important the account is. Each one of our customers has their own database, and can configure whichever custom fields they like.

 

We have a feature request to support the custom fields inside out Power BI App - i.e. being able to filter data in the report by these fields which could be different across customers. I can immediately see problems with building an app on a dataset with changing field names underneath and it not working properly. My question is, has anyone done this - or has a pattern/suggestion for how to tackle it. I have no issues storing/surfacing the data in any format required, this is purely related to getting it working in PowerBI.

 

The approach that jumps out is to add an "AccountExtensions" table to the model, which looks something like this;

 

CustomerIDCustomField1CustomField2CustomField3
1xxxxxxxxx
2xxxxxxxxx

 

And then use those fields as filters in the reports - I am wondering if there is a more established pattern for doing this which I don't know about?

 

Happy to answer clarifying questions 🙂

 

thanks,

 

Rob

2 REPLIES 2
v-eachen-msft
Community Support
Community Support

Hi @robtaylor ,

 

According to your situation, you could use RLS. Here are the documents for your reference.

https://docs.microsoft.com/en-us/power-bi/desktop-rls

https://docs.microsoft.com/en-us/power-bi/service-admin-rls

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Thanks for the reply @v-eachen-msft 

 

So RLS doesnt help me, the issue is not restricting data in a single dataset across customers. 

 

I have 1 app which I publish. Each customer has a database. They install the app from the marketplace and connect to their own instance of the database. They can then report on the data. Every customer has their own app install.

 

What I want to do is allow each customer to install this app, and see their own custom fields, but only publish the single instance of the app?

 

thanks,

 

Rob

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors