Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
hamadani
Frequent Visitor

Delta Funnel

Hi,

 

I have a following sample table:

Page NameCustomer ID
Page ACustomer 1
Page ACustomer 2
Page BCustomer 1
Page BCustomer 2
Page BCustomer 3
Page BCustomer 4
Page CCustomer 1
Page DCustomer 1
Page DCustomer 2

 

From the above table, I have created a funnel which shows the unique number of customers per page

Page NameNo. Unique Customers
Page A2
Page B4
Page C1
Page D

2

 

The funnel is sorted automatically as shown below (with many more page names that I have in my source data):

hamadani_0-1656429876025.png

 

My question is how can I calculate or depict the number of dropped customers as they travel from most visited page (page B) to least visited page (page C) in Power BI:

 

Page NameNo. Dropped Customers
Page B 
Page A2 (4 in Page B - 2 in Page A)
Page D0  (2 in Page A - 2 in Page D)
Page C

1  (2 in Page D - 1 in Page C)

 

In other words, how can I visulaise the delta funnel?

 

Many thanks

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi, @hamadani 

As a workaround, you can  try the following steps to visulaise the delta funnel.

1. add a summarize table:
calculated table:

Table 2 = SUMMARIZE('Table','Table'[Page Name],"No.Unique Customers",DISTINCTCOUNT('Table'[Customer ID]))

calculatd column:

Rank = RANKX(ALLSELECTED('Table 2'),'Table 2'[No.Unique Customers],,DESC,Dense) 
Rankvalue = 
RANKX (
    'Table 2',
    'Table 2'[Rank]
        + RANKX ( 'Table 2', 'Table 2'[Page Name],, ASC, DENSE )
            / CALCULATE ( COUNTROWS ( 'Table 2' ), ALLSELECTED () ),
    ,
    ASC,
    DENSE
)
No.Dropped Customers = 
VAR a = 'Table 2'[No.Unique Customers]
VAR b =
    CALCULATE (
        MAX ( 'Table 2'[No.Unique Customers] ),
        FILTER (
            'Table 2',
            'Table 2'[Rankvalue]
                = EARLIER ( 'Table 2'[Rankvalue] ) - 1
        )
    )
RETURN
    IF ( ISBLANK ( b ), BLANK (), b - a )

2. consider using custom tooltip page to show the Dropped Customers.
Result:

veasonfmsft_0-1656657705663.png

Best Regards,
Community Support Team _ Eason

View solution in original post

1 REPLY 1
v-easonf-msft
Community Support
Community Support

Hi, @hamadani 

As a workaround, you can  try the following steps to visulaise the delta funnel.

1. add a summarize table:
calculated table:

Table 2 = SUMMARIZE('Table','Table'[Page Name],"No.Unique Customers",DISTINCTCOUNT('Table'[Customer ID]))

calculatd column:

Rank = RANKX(ALLSELECTED('Table 2'),'Table 2'[No.Unique Customers],,DESC,Dense) 
Rankvalue = 
RANKX (
    'Table 2',
    'Table 2'[Rank]
        + RANKX ( 'Table 2', 'Table 2'[Page Name],, ASC, DENSE )
            / CALCULATE ( COUNTROWS ( 'Table 2' ), ALLSELECTED () ),
    ,
    ASC,
    DENSE
)
No.Dropped Customers = 
VAR a = 'Table 2'[No.Unique Customers]
VAR b =
    CALCULATE (
        MAX ( 'Table 2'[No.Unique Customers] ),
        FILTER (
            'Table 2',
            'Table 2'[Rankvalue]
                = EARLIER ( 'Table 2'[Rankvalue] ) - 1
        )
    )
RETURN
    IF ( ISBLANK ( b ), BLANK (), b - a )

2. consider using custom tooltip page to show the Dropped Customers.
Result:

veasonfmsft_0-1656657705663.png

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.