Forum Discussion
Grouped Rows in Excel - Reversing the process in Power BI
Hi Team,
I've got some data that comes from Excel - on the Excel side the rows are grouped so we end up with something like this in Power Query:
I'm trying to avoid doing anything manual on the Excel side, as this report will be updated weekly (hoping to automate) - I want to replicate the results so that it would instead be:
1
1
1
2
2
2
etc. Is there a way to do a Conditional Index, or something else to get the result? For context, this number is the identifier for the rest of the table, none of the other columns will enable me to work with the data in this way.
CallumJ , if there are return character, use clean In power query
Power Query Trim and Clean: https://youtu.be/NRYPsCnS0w4
If there are multiple rows in power bi with empty rows, check to fill up and down
Fill Up Fill Down: https://youtu.be/mC2ps0pFqBI
2 Replies
- amitchandak
Super User
CallumJ , if there are return character, use clean In power query
Power Query Trim and Clean: https://youtu.be/NRYPsCnS0w4
If there are multiple rows in power bi with empty rows, check to fill up and down
Fill Up Fill Down: https://youtu.be/mC2ps0pFqBI
- CallumJFrequent Visitor
I was racking my brain and it was that simple 😀 Thanks!