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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
pawlowski6132
Helper V
Helper V

Syntax to user USERPRINCIPAL name function in M

Has anyone used this function to filter a table in Power Query? I thought it would be as simple as this:

pawlowski6132_0-1608142478819.png

But, I'm getting an expression error I can't resolve.

pawlowski6132_1-1608142548262.png

 

As usual, thanx in advance for your help.

6 REPLIES 6
v-deddai1-msft
Community Support
Community Support

Hi @pawlowski6132 ,

 

What I mean is that it doesn't support for oracle data source.

 

Best Regards,

Dedmon Dai

 

pawlowski6132
Helper V
Helper V

Dedmon Dai, I'm don't think that's accurate. I'm sure the Dynamic M Query Paramater is also available now.

v-deddai1-msft
Community Support
Community Support

Hi @pawlowski6132 ,

 

You can only use query parameter for it now. And you can change the parameter in mange parameter in Power BI desktop:

 

Capture1.PNG

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

pawlowski6132
Helper V
Helper V

I think what I really want is to use the Dynamic M query parameter feature currently in preview but, not available for Oracle (or other popular data sources).

blopez11
Super User
Super User

USERPRINCIPALNAME is a DAX function

You cannot use it in the query editor

Crap. Of course. Duh.

 

I don't suppose there's any way to create a Power Query LIST from a filtered DAX table either. 

 

Frustrating.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.