I would be attaching the file that contains the problem and the expected output.
Please note that I would be attaching an excel file but I need my result in pbi file.
@Iwona Here is a solution but make sure that any row in the source table is not Null. The word Null is fine but the cell shouldn’t be empty. Also, there should be same number of entries for each person i.e. 14(number can change but it should be same for everyone) Because the solution is based on a pattern.
Thanks for your effort but this did not work on my real data as my real data is in xml format.
Please, can you explain to me how to implement the code using xml file as my data source.
Sorry for not making this clear at first as I was trying to Mock up the problem with the data in excel.
Hi AntrikshSharma,
I am submitting a possible solution based on Brian Julius’s video “How To Handle Stacked Data In Power BI”.
I am learning Power BI and I would like to know your opinion about the solution that I have created.
Thanks a lot. Iwona_JAFP.pbix (36.7 KB)
Thanks @EnterpriseDNA for asking but the solution didn’t work for me as my data is in xml. @jafernandezpuga asked if I could share the xml data but I couldn’t because I am not sure how to mask the data as it’s our company data.
I copied @jafernandezpuga code and changed the source to my xml file location but the rows were miss-matched from column to column which was not useful.
If anyone could give me a clue on how to mask the xml data, that would be helpful.