Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
gullinnova
New Member

How to automate changing a table to a structured list and exclude blanks

My goal is to take a table with any # of rows but limited number of columns like this:

 

gullinnova_1-1678482864763.png

And have it convert to this format with power query: 

gullinnova_3-1678483419111.png

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

1 ACCEPTED SOLUTION

Hi,

I have unpivoted the numerical columns and filtered the nulls. Does this help you?

 

pavansai909_0-1678522217282.png

 

View solution in original post

4 REPLIES 4
adudani
Super User
Super User

hi @gullinnova ,

 

please provide a sample input file removing sensitive data?

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a Kudos 🙂
Kind Regards,
Avinash

Item Numberstore1store2store3store4store5store6
195553951579     1
195553964852 222  
197105004375     8
1955533272751 1   
195553310192   2  
19555330989910224 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?

 

pavansai909_0-1678522217282.png

 

this is of great help, unpivoting never occured to me thank you. 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors