cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Get selection of data while importing from SQL, based on log in

Hi,

 

I'm building reports for customers with SQL as data source. The reports are similar for all clients so I'd like to use the same data source all the time. But the clients should not be able to see the data from each other.

 

How do I make sure that -depending on a client log in- the correct data will be shown?

Or a work-around may be that it depends on something else (a parameter?)...

1 REPLY 1
aarontx Frequent Visitor
Frequent Visitor

Re: Get selection of data while importing from SQL, based on log in

I believe you would need to use Row-Level Security.  Please refer to the link below for more information:

 

https:/https://powerbi.microsoft.com/en-us/blog/using-username-in-dax-with-row-level-security//power...

 

 

Aaron 

 

 

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)