Schema drift not working for unpivot transformation

Arunkumar 86 Reputation points
2022-06-17T13:38:23.407+00:00

Hi,

I'm trying to use "Unpivot" transformation on a Source that don't have schema pre-defined (Schema Drift is activated).
The "unpivot" transformation generates the following error:

UngroupBy does not allow expressions or column assignments

212551-image.png

i tired both byname and columns on the expression both given same error.
212532-image.png

Please any help me out

Thanks in advance

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,624 questions
{count} votes

Accepted answer
  1. ShaikMaheer-MSFT 38,546 Reputation points Microsoft Employee Moderator
    2022-06-22T05:27:41.953+00:00

    Hi @Arunkumar ,

    Thanks for posting query in Microsoft Q&A Platform.

    Dynamic expression in Unpviot transformation for Ungroup by will not works. Hence we should consider a workaround of define a dynamic column using byName() in the Derived Column, assign it a synthetic column name like "MyUngroupColumn". Use this column which we created in ungroup by of Unpivot transformation.

    Kindly check below video to get idea about Unpivot transformation that how it works.
    Unpivot Transformation in Mapping Data Flow in Azure Data Factory

    Hope this helps. Please let us know how it goes.

    -----------

    Please consider hitting Accept Answer. Accepted answers help community as well.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.