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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
divyakolavil
Regular Visitor

How to pass max of slicer selected date to filter the data for a chart

Hi All,

I have a table named CY, which has date-wise inventory at Brand/Division level. (below)

divyakolavil_0-1719397195931.png

 

I have another SOH_Calendar table having the list of dates for which inventory is available., and i have kept a slicer from this table

and below formula returns the max of selected dates

 

Now as you see the first barchart shows week on week inventory.

Rest of the charts should show the Inventory by Brand/BU  and Division for the max date selected in the slicer.

Currently it shows the summ of inventory of all the selected dates.

 

Is there a way i can pass the max selected date to these charts?

divyakolavil_3-1719397504323.png

 

Thanks in advance

 

1 ACCEPTED SOLUTION
fahadqadir3
Super User
Super User

@divyakolavil review the attached screen shot, for Donut chart data only latest date  selected in slicer appears.

Ss.png

You need to add filter for chart, select Top N as Filter 

Select ‘Top’ and input ‘1’. This tells the filter to choose only the highest or lowest single value.

For ‘By value,’ drag over the date field from the Data Pane and change to ‘Latest.’

Screenshot_1.png

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!! 

 

View solution in original post

2 REPLIES 2
divyakolavil
Regular Visitor

Wow @fahadqadir3 , it worked like charm 🙂 Thank you for your quick support

fahadqadir3
Super User
Super User

@divyakolavil review the attached screen shot, for Donut chart data only latest date  selected in slicer appears.

Ss.png

You need to add filter for chart, select Top N as Filter 

Select ‘Top’ and input ‘1’. This tells the filter to choose only the highest or lowest single value.

For ‘By value,’ drag over the date field from the Data Pane and change to ‘Latest.’

Screenshot_1.png

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!! 

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors