Forum Discussion

srahmanfunlab's avatar
srahmanfunlab
New Member
1 year ago
Solved

Implementing an additive formula to funnel table

Hey guys, I'm trying to set up a funnel report where there is a table that progresses through the funnel steps and shows the number of users that progress through each step. A sample can be seen as b...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi srahmanfunlab ,

    Based on the testing, try using the following DAX formula.

     

    Total User = 
    VAR CurrentOrderID = MAX('Funnel Step'[Activity Funnel Reporting Order ID])
    VAR MaxOrderID = CALCULATE(
        MAX('Funnel Step'[Activity Funnel Reporting Order ID]),
        ALL('Funnel Step')
    )
    VAR Steps =
        SUMMARIZE(
            FILTER(
                'Funnel Step',
                'Funnel Step'[Activity Funnel Reporting Order ID] <= CurrentOrderID
            ),
            'Funnel Step'[Activity Funnel Reporting Order ID],
            "UserCount", DISTINCTCOUNT('User Funnel'[User Pseudo ID])
        )
    VAR MinUserCount = 
        MINX(
            Steps,
            [UserCount]
        )
    RETURN 
        MinUserCount

     

    The result is shown below.

     

    Best Regards,

    Wisdom Wu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.