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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
unknown_anony
Helper I
Helper I

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

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