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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Direct query and local table

Hi,

in the report I'm useing DirectQuery dataset and manual created table with name "Country", it contain columns "Country Code" and "Country Name". In the table from DirectQuery with name "Units" is column with country codes.

local table

Country CodeCountry Name
UAUkraine
BEBelgium
CHSwitzerland
CZCzech Republic

 

table in DirectQuery with name Units

Country Code
UA
BE
CH
CZ

I have created relationship between this two tables using columns Countru Code. And If I want to copy Country Names from local table to table Units by

 

Spoiler

  Country Name = Related(Country[Country name])

 

 

  it retusn error "The column Country[Country name] cannot be pushed to the remote data source and cannot be used in this scenario."
I tried function lookupvalue too, but with same result.

Any idea how to combine data from direct query and local tables?

3 REPLIES 3
Anonymous
Not applicable

correction of original info:

function

RELATED generate error : "The column 'Country[Country Name]' either doesn't exist or doesn't have a relationship to any table available in the current context.

 

LOOKUPVALUE generate error: "The column 'Users'[Country Name] cannot be pushed to the remote data source and cannot be used in this scenario."

vanessafvg
Super User
Super User

and you created a relationship between them? what type of relationship is it?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Anonymous
Not applicable

Relationshis is *:1 Units[Country Code] (DirectQuery) : Country[Country Code] (local table)  single direction

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.