Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi,
I'm not very familiar with no-SQL databases as data sources and I'm trying to figure out how to flatten my model with a Cosmos DB source in a way that will work.
The documents I'm working with are JSON files with a dynamic structure. I used the Cosmos DB Connector, and I seem to be able to transform the Records in the initial tableinto other tables via the Transform into Table button:
Initial table:
Initial table
Expanded Record in row 1:
Clicked on the Convert into table button:
Resulting table:
Now... I have some questions on how to proceed from here:
1) Do I have to go through thisprocess for all the rows?
2) My resulting table still has some Lists and Records in it. So, if I go ahead and transform them all into tables, that might work for this specific document. But when a new JSON file comes in, and there is a different number of rows, does that mean that I need a different query for each new document?
I'm trying to wrap my head around it and I'm quite confised on how to make this work...
Thanks in advance for your help and suggestions!
Solved! Go to Solution.
Hi @Anonymous ,
You can try to click the button circled in red, and then expand all at once.
If new data is imported, you need to do this operation again.
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.
Hi @Anonymous ,
You can try to click the button circled in red, and then expand all at once.
If new data is imported, you need to do this operation again.
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.
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 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 9 | |
| 8 | |
| 7 | |
| 6 | |
| 5 |