Implemented Longest action of summary tool in alteryx same was developed in Azure data flow?

prashanth nethi 1 Reputation point
2021-04-19T14:53:33.487+00:00

Hi,

In Alteryx,there were using summary tool implemented with Longest option.

For the same how we can implement in a Azure Data flow.

Can you please help on this query with solution.

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

2 answers

Sort by: Most helpful
  1. MarkKromer-MSFT 5,226 Reputation points Microsoft Employee Moderator
    2021-04-19T23:22:00.377+00:00

    In the Data Flow data preview pane of each transformation, you'll see a button for "Statistics". That will give you the summary stats for each field.

    Alternatively, you can add a Power Activity to your pipeline and use it to view your source summary stats.

    Here are some helpful videos to walk through it for you:

    https://www.youtube.com/watch?v=Rafr4KCx9yI

    https://www.youtube.com/watch?v=En1ztyh5GaA

    1 person found this answer helpful.
    0 comments No comments

  2. MartinJaffer-MSFT 26,236 Reputation points
    2021-04-19T22:06:54.18+00:00

    Hello @prashanth nethi and welcome to Microsoft Q&A.

    I did some digging, and I think you are referring to

    https://help.alteryx.com/current/designer/summarize-tool

    Longest: Returns the longest string value of the group.

    This would be something like:

    Select top 1 mystring from mytable order by length(mystring) descending  
    

    In Data Flow, this would look like:

    89190-image.png

    1. Create Derived Column "Length" defined as length(myStringColumn)
    2. Aggregate, column length as max(Length) , nothing in group by.
    3. Lookup, using the Aggregate stream as Primary Stream, and the Derived Column stream as Lookup Stream, joining Length == Length.

    89168-image.png
    89167-image.png

    0 comments No comments

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.