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,
How can I aggregate these coulmns together ?
Column1 Coulmn 2
Header 1 Data 1
Header 2 Data 2
Header 3 Data 3
Header 4 Data 4
Header 5 Data 5
Header 7 Data 7
Header 8 Data 8
Header 10 Data 10
Solved! Go to Solution.
This would be the correct code (note: you use Column5, not Column4):
= Table.FromColumns({List.RemoveNulls(Source[Column1])&List.RemoveNulls(Source[Column3]),List.RemoveNulls(Source[Column2])&List.RemoveNulls(Source[Column5])})
Post removed as it was incorrect.
This would be the correct code (note: you use Column5, not Column4):
= Table.FromColumns({List.RemoveNulls(Source[Column1])&List.RemoveNulls(Source[Column3]),List.RemoveNulls(Source[Column2])&List.RemoveNulls(Source[Column5])})
I would create two separate queries - one for columns 1 and 2; the other one - for column 3 and 5.
I would do some cleansing: Remove Empty values
I would give them Header and Data column names.
Then I would use Append Queries option
Hope this works
Michael
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 57 | |
| 44 | |
| 42 | |
| 20 | |
| 18 |