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
pranit1997
Helper I
Helper I

Waterfall Chart - with reverse totals

Need to some help around waterfall chart:
I need to create a Waterfall chart similar to the one shown below

pranit1997_0-1647847636737.png

 

I have month vise count and reverse running total measures already created

pranit1997_2-1647847735514.png

I need to show the count dropping from 80 to 0

 

4 REPLIES 4
pranit1997
Helper I
Helper I

Hi @pranit1997 ,

 

1. To simplify the data, I have used the summarized type of Sum to replace Count you used .And also I have reproduced your TestMeasure by using Sum instead of Count.

 

 

TestMeasure =
VAR _all =
    CALCULATE ( SUM ( 'Table'[GOLD ID] ), ALL ( 'Table' ) )
VAR _pri =
    CALCULATE (
        SUM ( 'Table'[GOLD ID] ),
        FILTER (
            ALLSELECTED ( 'Table' ),
            'Table'[Test date to text] < MAX ( 'Table'[Test date to text] )
        )
    )
RETURN
_all - _pri

 

 

vjinweilimsft_0-1648113289896.png

2. Add a Total Count column for the Breakdown field in the Waterfall chart.

 

 

Total Count = SUM ( 'Table'[GOLD ID] )

 

 

Output:

vjinweilimsft_1-1648113409047.png

 

If it isn’t your expected output, please share more information (tables, outputs) to help us clarify your scenario. Or share me with your pbix file after removing sensitive data.

 

Refer to:

How to provide sample data in the Power BI Forum - Microsoft Power BI Community

How to Get Your Question Answered Quickly - Microsoft Power BI Community

 

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

Hey @v-jinweili-msft 
Thank you so much for taking out your time and helping me.

I tried to reacreate the measure based on what you shared. But I am not getting the output table from 80 to 5.
The ID field is string for me and it doesnt just contain numbers. 

pranit1997_0-1648122184180.png

pranit1997_1-1648122261163.png

 

I replaced the sum again with "CountA"
I am getting the numbers right.
Now, I have a column with status. When I am filtering those, its not affecting the count via this measure.
Would there be way around that?

Again thank you so much for helping me out

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.