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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors