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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
gilangdwipr
Frequent Visitor

is it possible to publish report consist of column that's LOOKUPVALUE-ing towards DirectQuery data?

Is it possible to publish a Power BI report with a table that contains columns created using LOOKUPVALUE on DirectQuery data? I'm already a Pro user. I encountered several error messages with this setup before, but I'm not sure if this was the actual problem.

 

Table 1 (local) :

NoItem
1

Apple

2Banana
2Banana
3Orange
4Guava
4Guava

 

Table 2 (direct query)

NoStatus
1

True

2False
3True
4False

 

= LOOKUPVALUE('Table 2'[Status],'Table 2'[No],'Table 1'[No])

 

Table 1 result:

NoItemStatus
1

Apple

True

2BananaFalse
2BananaFalse
3OrangeTrue
4GuavaFalse
4GuavaFalse

 

Need help, thanks!

 

1 ACCEPTED SOLUTION
AntrikshSharma
Super User
Super User

@gilangdwipr You can use it, but LOOKUPVALUE calculated column should be on the Import mode table, if you do that with DQ table then it is not supported. 

 

If you want the column on the DQ table T1 then you need to import the other table T2 in DQ mode and build a relationship b/w T1 & T2 and use RELATED or if T2 table must remain in Import mode then you can use Dual storage mode

View solution in original post

2 REPLIES 2
AntrikshSharma
Super User
Super User

@gilangdwipr You can use it, but LOOKUPVALUE calculated column should be on the Import mode table, if you do that with DQ table then it is not supported. 

 

If you want the column on the DQ table T1 then you need to import the other table T2 in DQ mode and build a relationship b/w T1 & T2 and use RELATED or if T2 table must remain in Import mode then you can use Dual storage mode

Thank you for the help!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.