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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
julius_kr
Frequent Visitor

YoY-Sales Lost Customer Measure

Good morning, 

 

I am trying to create a waterfall chart like in this YouTube video: Power BI: How to Write any DAX Measure In Just 3 Easy Steps 👣 (youtube.com)
I have no problems with Declining, New and Growing YoY Sales by Customer, but I can't get Lost Customer YoY Sales to work.


If I put the customerID, YoY-Sales and sales growth % into a table and manually filter by -100% sales growth, I get the correct values for lost customer YoY-Sales.

But when I try to use my measure I just get no values at all. 

CustomersLost =
CALCULATE(
    [Sales YoY],
    FILTER(
        VALUES('Sales'[CustomerID]),
        [Sales Growth %] = -1
    )
 
If I adjust the "-1" this measure works for the other three cases.
I have tried many different things, but at this point i am just desperate.
2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

@julius_kr Maybe try this approach: Better Year Over Year Change - Microsoft Fabric Community



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thank you for your help, but I am still not getting any values.

I used your YoY approach and it works great, but the measure still doesn't work. Is it possible that the measure is just wrong?

What could be causing this, because all the other three measures are working fine.

Or is it possible to use the manually calculated value from the table in some way?

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.