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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
unknown_anony
Helper II
Helper II

Relate function does not work with the direct query and import mode

Hello ,

I am working on a composite model. Direct query table is my facts table and is connected to the dimesion table by one to many relationship. As checked in the community that relate function does not work with direct query and import mode so instead  i used this below query in a calulated column

Test = LOOKUPVALUE(HRData[Eng /Sr Eng],HRData[Personnel number],'CATS Timesheet Report'[Emp.ID])
but getting and error
unknown_anony_0-1691643805419.png

Is there any work around for this issue?

 

Thanks in advance

All suggestions are welcomed

3 REPLIES 3
johnt75
Super User
Super User

You could try

Test =
SELECTCOLUMNS (
    FILTER ( HRData, HRData[Personnel number] = 'CATS Timesheet Report'[Emp.ID] ),
    "@value", HRData[Eng /Sr Eng]
)

No it is also giving the same error

 

Check the privacy levels for both datasets, and have a look in the options to see if there's anything about sharing data between multiple sources.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.