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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
dataconsole
Frequent Visitor

Waterfall Chart - Start and End Date

Dear members,

 

I created a waterfall chart using : 

 

Year as Category

Product Category as Breakdown

Sales Amount as Value

 

To get a start year and end year as on pic below, i need to select two years on my slicer

 

dataconsole_0-1674657281996.png

 

As all other data are only meaningful when only one year is selected, would it be possible to achieve the same result with a formula and selecting only one year on the slicer, or a formula without the use of a slicer

 

Thank you ! Steve

 

 

 

1 REPLY 1
amitchandak
Super User
Super User

@dataconsole , You need a very similar solution

 

Select data between months - https://youtu.be/nEt7dT3Tfv4

 

Using 2 slicer =
var _max = minx(allselected(Date1), Date1[Year])
var _min = maxx(allselected(Date2), Date2[Year])
return
calculate(countrows(Table), Filter(Table,Table[Year] <=_max && Table[Year] >=_min) )

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.