Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
My goal is to take a table with any # of rows but limited number of columns like this:
And have it convert to this format with power query:
etc
it omits any value <1 and iterates over all instances of column1 that exist.
I've done about 4 hours of my own research trying to find out but having a hard time. Hoping an expert here can enlighten me. Thank you for your time
Solved! Go to Solution.
Hi,
I have unpivoted the numerical columns and filtered the nulls. Does this help you?
hi @gullinnova ,
please provide a sample input file removing sensitive data?
Item Number | store1 | store2 | store3 | store4 | store5 | store6 |
195553951579 | 1 | |||||
195553964852 | 2 | 2 | 2 | |||
197105004375 | 8 | |||||
195553327275 | 1 | 1 | ||||
195553310192 | 2 | |||||
195553309899 | 10 | 2 | 2 | 4 | 2 | |
195553310093 | 1 | |||||
195553971324 | ||||||
195553646147 | 2 | 2 |
Will this work?
Hi,
I have unpivoted the numerical columns and filtered the nulls. Does this help you?
this is of great help, unpivoting never occured to me thank you.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.