Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi
I have recently used DirectQuery for the first time to pull back large data sets, however i still need to do lookupvalue queries with other tables so i can relate the data to other categories, it appears LOOKUPVALUE query formula is not compatable with in the DirectQuery Table mode.
Does any know how you can create new lookup columns from another table in a DirectQuery table?
Thanks
Dan
Hi @DCrowther ,
Based on my test, direct query mode not allow you to use a few calculation functions in calculated column. You can consider to use measure to lookup other tables fields.
DAX formula compatibility in DirectQuery mode
Regards,
Xiaoxin Sheng
Hi Xiaoxin
Thankyou for your reply, i have begun to try to lookup this issue and saw about creating the lookupvalue as a Measure, however even though the tables are related (i have linked the related fields in the 'Model' section) when i come to write the LOOKUPVALUE formula in the Measure, the last part of the formula does not recognise/match the field with with the current table i am in (i.e. its not recognising the search_value) in fact it is only picking the other measures that are in the table. Do i have to some how convert the search_value into a measure?
It looks like it works slightly different than from the LOOKUPVALUE function from imported data to LOOKUPVALUE with DirectQuery
Any ideas?
Regards
Dan
HI @DCrowther ,
You can use measure as search value but you can't use it as search field, lookupvalue function not support to search on measure.
You can use calculate function with filter function to instead:
Measure =
CALCULATE (
MAX ( Table[Amount] ),
FILTER ( ALLSELECTED ( Table ), [Mesure2] = 1 )
)
Regards,
Xiaoxin Sheng
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 23 | |
| 19 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 60 | |
| 52 | |
| 47 | |
| 40 | |
| 38 |