Create a General Ledger

Is there a way I can combine multiple datasets in a single repeating group?

I need to create a General Ledger in which the data comes from “Petty Cash” and “Cheques” both have financial information as well as dates.

Or do I need to create a single dataset as General Ledger? and split the information in respective repeating groups with a search function?

Yes add Cheques as a table inside Petty Cash and that way Do a search for Petty Cash.

Current Cell’s Petty Cash’s Cheques{SELECTHERE}