Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
Hi experts!
I have a dataflow that combines two different data sources with the same table and structure:
The structure for the table is as following:
The first columns display the datetime for the individual extract.
For now I have built a datafow that extracts all 2021-2023 extracts from the sharepoint and adds all 2024 extracts from the SQL server.
Now I would like to built a logic that actually checks if the extracts is already existing in the Sharepoint and if missing it takes it from the SQL server.
How is this possible to build in a Pro Workspace and a dataflow? Maybe without a merge since it takes a loot of time due to the size of the table.
I would check by getting the lists of the first columns of each table, and use them in List.Buffer(List.Difference(SharepointTable[DateTime], SQLTable[DateTime]))
Now you can use that on your main query as a Table.SelectRows(SQLTable, each List.Contains(List.Buffer(NameofIntersectQuery), [DateTime]))
You could also right off the bat just use Table.SelectRows(SQLTable, each not List.Contains(List.Buffer(SharepointTable[DateTime], [DateTime])). This will make a WHERE .DateTime NOT IN (List), but if you have thousands of values in the list, that will eventually fail, hence the first solution.
--Nate
Not clear to me what you are trying to achieve. What's the business benefit of the dataflow? Is this Gen1 or Gen2?
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 6 | |
| 5 |