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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Kr97
New Member

Dynamically schema switching for the user logged in power pages and Render the reports from power Bi

Hello ,

 

whenever the Ever the user log in the portal(webpage/power apps) Dynamically the schema has to be selected according to the user from the Snowflake Schema and only that schema data should be rendered on the power Bi Dashboard. 

I am trying to validate the user using Azure B2C and from the whenever the user logins i am able to store the Usename in the data but unable send that particular username to power Query(power Bi) for the schema dedicated to that user. If any leads are there regarding this highly appreciated. Thanks 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

That should work as long as your Power BI data source is in Direct Query Mode, you use Dynamic Query Parameters, you produce the same output structure across schemas and RLS on the schema columns.

 

Easy? No.  But doable.

View solution in original post

2 REPLIES 2
PrismaBI
Frequent Visitor

Hi! I need that too. To automatically switch a parameter in the string connection (Power Query) based on the logged in user. How did you come to a solution?

lbendlin
Super User
Super User

That should work as long as your Power BI data source is in Direct Query Mode, you use Dynamic Query Parameters, you produce the same output structure across schemas and RLS on the schema columns.

 

Easy? No.  But doable.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Carousel June 2024

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

2
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.