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
vickyd
Helper V
Helper V

Funnel chart not functioning as expected

I am trying to display the total savings by stage where the stages are Identified, Solutioned, Executed, in that order. 

 

Total savings are 86M, so in the Funnel chart I was expecting to see 86M as Identified, then 16M as Solutioned and 9M as Executed, thus showing the progression through each stage. Isn't that how it's supposed to work? 

 

vickyd_1-1594774892915.png

 

 

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

HI @vickyd ,

As lbendlin said, you can't directly use raw table fields to achieve your requirement, you need coding some measure formals.

Steps:

1. Create a new calculated table for setting data levels of each status.

Aggregate Level = 
ADDCOLUMNS (
    VALUES ( Raw[Status] ),
    "Level", SWITCH ( [Status], "Identified", 1, "Solutioned", 2, "Executed", 3 )
)

2. Add a measure formula to summarize amounts based on its data level.

Measure = 
CALCULATE (
    SUM ( Raw[Amount] ),
    FILTER (
        ALLSELECTED ( Raw ),
        LOOKUPVALUE ( 'Aggregate Level'[Level], 'Aggregate Level'[Status], Raw[Status] )
            >= LOOKUPVALUE (
                'Aggregate Level'[Level],
                'Aggregate Level'[Status], MAX ( Raw[Status] )
            )
    )
)

2.png

Regards,

Xiaoxin Sheng

 

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

3 REPLIES 3
v-shex-msft
Community Support
Community Support

HI @vickyd ,

As lbendlin said, you can't directly use raw table fields to achieve your requirement, you need coding some measure formals.

Steps:

1. Create a new calculated table for setting data levels of each status.

Aggregate Level = 
ADDCOLUMNS (
    VALUES ( Raw[Status] ),
    "Level", SWITCH ( [Status], "Identified", 1, "Solutioned", 2, "Executed", 3 )
)

2. Add a measure formula to summarize amounts based on its data level.

Measure = 
CALCULATE (
    SUM ( Raw[Amount] ),
    FILTER (
        ALLSELECTED ( Raw ),
        LOOKUPVALUE ( 'Aggregate Level'[Level], 'Aggregate Level'[Status], Raw[Status] )
            >= LOOKUPVALUE (
                'Aggregate Level'[Level],
                'Aggregate Level'[Status], MAX ( Raw[Status] )
            )
    )
)

2.png

Regards,

Xiaoxin Sheng

 

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
amitchandak
Super User
Super User

lbendlin
Super User
Super User

No, that's not how Funnel charts work. Try a waterfall but that's likely also not helping you.

 

You can create a measure that sums up your stages in the way you desire, and then you can feed the funnel chart with that measure.

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.