Forum Discussion
Copy all data from direct query table
Hello Saudansari
Thank you.
I do not know which datatype Microsoft is using for these columns in Direct Query.
The database is in Direct Query and has to be connected using SQL if I understand you right.
Is there another way to do that. CQD is run by Microsoft, Power BI Template of CQD is freely available.
Need to merger local information with CQD. Is there another way to do that?
Thank you
JFM_12
- saudansari2 years agoHelper II
Here's a general approach you might take within Power BI:
Power Query in Power BI Desktop:
- Open your Power BI Desktop file.
- Go to the "Home" tab, click on "Get Data," and select your data source (Microsoft Teams in this case).
- Use Power Query Editor to transform and clean your data.
- Load the data into Power BI.
Data Model in Power BI:
- Once the data is loaded, create relationships and build your data model in Power BI Desktop.
- You can combine data from different tables or sources using relationships.
Local Data:
- If you have local data that you want to merge with the data from Microsoft Teams, you can import that data into Power BI as well.
- Create relationships between the tables in the data model.
Power BI Report:
- Build your Power BI report using the combined data from Microsoft Teams and your local source.
Refresh Data:
- Schedule data refresh in Power BI Service so that your report gets updated with the latest data from Microsoft Teams.
- Heinrich2 years agoPost Partisan
Hello Saudansari
Thank you very muchBut I can not transform the data because it is Direct Query where data is stored.
The columns are not visible only accessible that is why I need to copy all the data locally
to do some manipulation. Only then I can transform the data and apply other format or more.
Best case would be to copy only neded columns worst case to copy all the data locally.
Do you have any other solutions
Thank you
JFM_12- saudansari2 years agoHelper II
you can consider the following options:
Power BI Dataflows:
- Use Power BI Dataflows to transform and reshape the data.
- Create a dataflow that pulls data from your Direct Query source, performs the necessary transformations, and stores the result in Power BI Dataflows.
- Once the dataflow is set up, you can use it as a source for your Power BI report.
Power Query and Local Tables:
- Import the entire dataset into Power BI (even if it's large).
- Use Power Query within Power BI to filter and transform the data as needed.
- Create relationships between tables and build your report.
Other than this I am not sure how I can help further on this.