You can possible use the crucial site to get some more info https://www.crucial.com/usa/en/memory-info?cm_re=homepage-_-main-body-_-buy-memory-button
Or contact HP direct to be safe.
I think most Envy x360's supprt an upgrade easy, but you still need to check as small variations could make a difference.