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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Juuls
Frequent Visitor

Join in direct query mode

Hi all,

 

Currently I am trying to join two tables in direct query mode; however, I keep getting the notification that there are no common columns found. I have tried the simple query where I configure a new table with the two tables to join (see screenshot) and I have tried using:

VAR __Table =
NATURALINNERJOIN(
'VW_DWH_Controle',
SELECTCOLUMNS(
'Status_lookup',
"Bron",[Waarde],
"Status",[Run_Status]
)
)

In the screenshot the columns in both tables have the same name; but I also tried with different names and without applying the relationship in the model. Might be relevant to know that status_lookup is a table I have imported manually and vw_dwh_controle is in direct query mode from the database.

Both with the same notion that common columns are lacking. Could someone help me to figure out what I am doing wrong?

Thanks in advance!

Juuls_0-1604065788301.png

 

 

Regards,

 

Juul

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @Juuls ,

 

Sorry for my delayed response.

 

Please kindly refer to:

 

https://docs.microsoft.com/en-us/dax/naturalinnerjoin-function-dax#remarks

 

The NATURALINNERJOIN function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
v-stephen-msft
Community Support
Community Support

Hi @Juuls ,

 

Sorry for my delayed response.

 

Please kindly refer to:

 

https://docs.microsoft.com/en-us/dax/naturalinnerjoin-function-dax#remarks

 

The NATURALINNERJOIN function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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