Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I am trying to import data that is tabulated in a database-unfriendly format. Instead of having the name of an employee appearing in several rows for several bits of information, the name appears only once, and you just assume that everything below is the same employee, until a new name appears. I would like to either fill the gaps with the same name, of group them by employee name in blocks, so I can create columns with the same name. Both potential solutions are illustrated below.
Any ideas?
Solved! Go to Solution.
Three steps:
1. Replace blank cell with null
2. Fill down names
3. Group by like following:
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
Three steps:
1. Replace blank cell with null
2. Fill down names
3. Group by like following:
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
Hi @lazarus1907 ,
Check the column with the name -> righclick mouse -> Fill -> down.
If this doesn't work because the empty fields are just empty and don't show null, then replace these empty fields by null before filling down.
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 9 | |
| 8 | |
| 7 | |
| 7 |