Forum Discussion

Omid_Motamedise's avatar
Omid_Motamedise
Super User
1 year ago
Solved

Type Any in Power Query

When you load data from Excel into Power Query, removing the "Change Type" step results in the columns being treated as "Any" type. If we sort a column of type "Any," Power Query applies different so...
  • ZhangKun's avatar
    ZhangKun
    1 year ago

    no any. This experience found from parctice.

  • v-ssriganesh's avatar
    1 year ago

    Hi Omid_Motamedise,

    I hope you're doing well! I wanted to follow up on your query regarding Power Query and the behaviour of the "Any" data type.

    As ZhangKun correctly pointed out, Power Query sorts values based on the specific type of each value instead of the column type when dealing with "Any" values. This sorting behavior is based on practical experience, and unfortunately, there isn’t a specific Microsoft document that outlines it.

    Have you resolved your issue with sorting in Power Query, or is there anything else related to your query that you need assistance with? If this resolves your issue, please accept it as a solution and leave a "Kudos" so other members can find it more easily.

    Thank you.