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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
TitikshaGanjoo
Frequent Visitor

Lookupvalue function not appearing - Direct Query mode

Hi AllVlookup_not_appearing.PNG,

 

Request help, as the Lookupvalue function is not appearing on connecting power BI with Big Query in the direct query mode.

Please suggest, screenshot attached.

 

Regards,

Titiksha

1 ACCEPTED SOLUTION
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@TitikshaGanjoo,

I connected to the SQL Server database using Driect query, based on my test, the function LOOKUPVALUES cannot be used in calculated column in this situation.

However, we can go to File -> Options and settings -> Options - > DirectQuery and enable the option “Allow unrestricted measures in Direct Query Mode”.

 1.png

 

After that we use the function when we create measures.
2.png

 

You can also check supported functions in DirectQuery mode in this article.

Regards,
Lydia

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

View solution in original post

4 REPLIES 4
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@TitikshaGanjoo,

I connected to the SQL Server database using Driect query, based on my test, the function LOOKUPVALUES cannot be used in calculated column in this situation.

However, we can go to File -> Options and settings -> Options - > DirectQuery and enable the option “Allow unrestricted measures in Direct Query Mode”.

 1.png

 

After that we use the function when we create measures.
2.png

 

You can also check supported functions in DirectQuery mode in this article.

Regards,
Lydia

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

I do not see that option.

I only see the below as the only option....

 

Shashanth_0-1621851051373.png

 

Hi,

 

I do not have the option "Allow unrestricted measure in Direct Query"

Where is this options moved in the new version, May 2019 ?

 

Thanks.

Anonymous
Not applicable

I also do not have the option "Allow unrestricted measure in Direct Query".  Is this because my storage mode is mixed?  If so, are there any solutions for creating a lookup column?  Thanks!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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