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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
nico_lal69
Regular Visitor

Merge data files

Hello guys!

 

I think I have a very simple question, but I haven't found anything on the web.

 

I'm doing a sales project on the power bi desktop with some JSON files. The amount of information in the files is enormous and is always being updated. I have a file with sales reports for the entire year 2021 and 2022 until June, when I update the sales data, it generates another JSON file with the same name and only the "new" information (which was not in this previous report). In other words, the old file is replaced by the new one only with what was added after the last report.

 

My question is, is there a way to merge these two files automatically? Like, just put the information that wasn't in the report yet?

 

Sorry if I wrote something wrong or if it is hard to understand the question, I'm not a native English speaker.

1 ACCEPTED SOLUTION
mahoneypat
Employee
Employee

You can store both files (and all future JSON files) in the same folder (local drive is ok, but better if a shared location like SharePoint, etc.). You can then use the Folder or SharePoint Folder connector to combine all the files in it. Use the Combine & Edit functionality of Power BI and it will allow you to transform your data (e.g., parse the JSON) in a "sample file" and then it will automatically apply the same steps to each file (and then append the resulting tables into one.

Combine files (binaries) in Power BI Desktop - Power BI | Microsoft Docs

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

1 REPLY 1
mahoneypat
Employee
Employee

You can store both files (and all future JSON files) in the same folder (local drive is ok, but better if a shared location like SharePoint, etc.). You can then use the Folder or SharePoint Folder connector to combine all the files in it. Use the Combine & Edit functionality of Power BI and it will allow you to transform your data (e.g., parse the JSON) in a "sample file" and then it will automatically apply the same steps to each file (and then append the resulting tables into one.

Combine files (binaries) in Power BI Desktop - Power BI | Microsoft Docs

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.