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
globalmc
Helper I
Helper I

Can build table relationship to the table in the shared dataset

I have a power bi desktop and connect to a shared dataset , after the connecting to the shared dataset, I also import some tables from sql database

 

can I build relationship from the import tables to the tables in the shared dataset ?

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

Hi @globalmc ,

 

Up to now, if you would like to create composite model, you must make sure your data sources in the model are connected with Import or Direct Query connection mode. Live Connection to the following data sources are not supported. But if you switch the connection mode to Import or Direct Query, then these data sources can be added to your composite model.

vcazhengmsft_0-1646704660606.png

 

Just as Burningsuit said, this feature needs to be enabled in the Options of your Power BI Desktop. And there are some considerations and limitations of using this feature. For more details about this feature, you may refer to Using DirectQuery for datasets and Azure Analysis Services (preview) - Power BI | Microsoft Docs.

 

And currently, it’s still in preview and no expected date of general available. But you may consider subscribing our Power BI Blog channel by email. There, you could learn the new features added in Power BI at first timing and learn the status change of a feature, such as from preview to general available.

vcazhengmsft_1-1646704844542.png

 

Link of Power BI Blog: Power BI Blog—Updates and News | Microsoft Power BI

 

Best Regards,

Community Support Team _ Caiyun

View solution in original post

9 REPLIES 9
v-cazheng-msft
Community Support
Community Support

Hi @globalmc ,

 

Up to now, if you would like to create composite model, you must make sure your data sources in the model are connected with Import or Direct Query connection mode. Live Connection to the following data sources are not supported. But if you switch the connection mode to Import or Direct Query, then these data sources can be added to your composite model.

vcazhengmsft_0-1646704660606.png

 

Just as Burningsuit said, this feature needs to be enabled in the Options of your Power BI Desktop. And there are some considerations and limitations of using this feature. For more details about this feature, you may refer to Using DirectQuery for datasets and Azure Analysis Services (preview) - Power BI | Microsoft Docs.

 

And currently, it’s still in preview and no expected date of general available. But you may consider subscribing our Power BI Blog channel by email. There, you could learn the new features added in Power BI at first timing and learn the status change of a feature, such as from preview to general available.

vcazhengmsft_1-1646704844542.png

 

Link of Power BI Blog: Power BI Blog—Updates and News | Microsoft Power BI

 

Best Regards,

Community Support Team _ Caiyun

Burningsuit
Resident Rockstar
Resident Rockstar

HI @globalmc 

Yes you can, but  combining multiple datasets or tables and datasets into one model is a Preview feature. You'll need to go to "File, Options and Settings, Options, Preview Features, set the option "DirectQuery for PBI datasets and AS" on, restart Power BI Desktop and you should be able to have a composite Datamodel (two or more Datasets in one Datamodel) I've blogged about it here. Power BI Composite models – what’s the big deal ? | Burningsuit 

 

Hope this helps

Stuart

when will it be GA ?

but what's the meaning of the following screen shot ?

globalmc_0-1646500202028.png

 

If there is already a DAX in the shared dataset , can we change that DAX fomula ?

 

and Can we add new DAX for the current Table in the shared dataset ?

 

 

anyone has the idea ?

 

I have a further questions . 
If the report is direct query to the shared dataset which is locate in another workspace (different premium capacity) , when I further build DAX again the tables in the model of the shared dataset , once the DAX is evaluate , it will consume the power of the current workspace (where the report will publish to, which is also premium workspace . ), or the power of the source
workspace (premium capacity )

Think of each dataset an island each with it's own formula and storage engines.

 

When you execute dax it evaluates as much as possible upstream only bringing back aggregate data. As you join islands you risk having to move data from source back downstream. Eg less aggregated data is passed back which is then processed in your local formula engine. Therefore the answer is "it depends" and in complex scenarios it uses both.

 



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

which means the power / resource used to evaluate the dax is at the capacity of where the shared dataset is located ?

So if you executed a measure that only relied on the original remote dataset then all the processing would be conducted there with only the result being fed back. 

 

If you executed a measure that only relied on your local dataset then all processing would be conducted locally.

 

If you executed a measure that required data from both datasets you'd use resource in both.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

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.

Top Solution Authors
Top Kudoed Authors