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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Anonymous
Not applicable

@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

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

@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

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.