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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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