Forum Discussion

gullinnova's avatar
gullinnova
New Member
3 years ago
Solved

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:

 

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

  • Hi,

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

     

     

4 Replies

    • gullinnova's avatar
      gullinnova
      New Member
      Item Numberstore1store2store3store4store5store6
      195553951579     1
      195553964852 222  
      197105004375     8
      1955533272751 1   
      195553310192   2  
      19555330989910224 2
      195553310093     1
      195553971324      
      195553646147   2 2

       

      Will this work?

      • pavansai909's avatar
        pavansai909
        Frequent Visitor

        Hi,

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