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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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