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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
saipawar
Helper IV
Helper IV

Funnel chart view with custom columns

Hi, I need help with a case statement such that I can use the calculated measure to create a funnel visual - 

 

Dummy Data - 

TeamReq StatusInterviews in processHires
AOpen30
BOpen20
AClosed01
COpen10
AOpen50
BClosed01

 

FYI :

When Status is Closed, Hires = 1 and Open = 0

 

Desired Output - 

TeamTotal Approved (Open+Closed)In Progress (Only Open)Interviews in ProcessHires 
A3281
B2121
C1110
     

 

Lastly, I'd like to plot the desired output table on a funnel chart.

1.Total approved

2.Reqs In progress

3. Interviews in Process

4. Hired

 

 

 

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

Hi @saipawar ,

Based on your description, you can create a calculated table as follows.

Table 2 =

SUMMARIZE (

    'Table',

    [Team],

    "Total approved", COUNTROWS ( 'Table' ),

    "Reqs In progress",

        0+ COUNTROWS ( FILTER ( 'Table', [Req Status] = "Open" ) ),

    "Interviews in Process", SUM ( 'Table'[Interviews in process] ),

    "Hired", SUM ( 'Table'[Hires] )

)


 

Result:

v-yuaj-msft_0-1610588979305.png

 

Hope that's what you were looking for.

Best Regards,

Yuna

 

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

View solution in original post

2 REPLIES 2
v-yuaj-msft
Community Support
Community Support

Hi @saipawar ,

Based on your description, you can create a calculated table as follows.

Table 2 =

SUMMARIZE (

    'Table',

    [Team],

    "Total approved", COUNTROWS ( 'Table' ),

    "Reqs In progress",

        0+ COUNTROWS ( FILTER ( 'Table', [Req Status] = "Open" ) ),

    "Interviews in Process", SUM ( 'Table'[Interviews in process] ),

    "Hired", SUM ( 'Table'[Hires] )

)


 

Result:

v-yuaj-msft_0-1610588979305.png

 

Hope that's what you were looking for.

Best Regards,

Yuna

 

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

amitchandak
Super User
Super User

@saipawar , Try measures like

 

Approved= Sumx(filter(Table, Table[Status] in {"Open","Closed"}), Table[Interviews ])

In Progress= Sumx(filter(Table, Table[Status] in {"Open"}), Table[Interviews ])

in process Hires = sum(Table[in process Hires])

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.