Welcome to the community, @johirul! Maybe you will need to go through this support article first to understand how the dynamic data attachment should be structured and processed. The article also has a sample XLSForm which you should be able to play around with to be used to.