Unpivot in single not with union

Hi,
is there a way to do unpivot in single?
and not to use union

Hi lior! :wave:

Are you meaning you are trying to unpivot a single table?
I’m thinking unpivot only applies to multiple tables.

Can you provide more detail about your goal so we can further assist?

Hi Maria,
I want to unpivot table from a wide table (VendorID, Emp1, Emp2,
Emp3, Emp4, Emp5 ) to long table (VendorID, Emp, value)
see example from microsoft documentation:

thanks!

Thanks for sharing this Lior.ha! We will look into it. Let me get back to you shortly. Appreciate your patience. Thanks

Hi @lior.ha ,

We don’t support UNPIVOT. We do have a feature request open for that, and I will make a note of your use case.

Eric

1 Like

hi @hanson , do you have update on UNPIVOT function? thanks

We’re still considering doing this but it’s not on our near-term roadmap. What specifically do you want to do with it?