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
FrodoBaggins
Frequent Visitor

Date slicer - Max period multi select not updating Stacked Column chart

I have the following (simplified) stacked column chart which counts the number of issues per source:
1.png
Based on this (simplified) data:

2.png

I then apply a date slicer which allows multiple selections

The date slicer is joined in the model and works correctly by adjusting the number of issues if one month is selected at a time.
When multiple months are selected then it need only evaluate the most recent month which I have calculated with the following 2 measures:

4.png


MaxPeriod = CALCULATE ( MAX ( vw_DimDate[Month] ))

IsMaxPeriod = IF(NOT(ISBLANK([MaxPeriod])), IF( MAX ( vw_PBI_MR_IssuesByAct[Period] ) = [MaxPeriod], 1, 0 ))

 

Confirmed to be working with a table visual:

5.png


If I then apply this filter, the table visual shows the correct count of 39 for the period of 202006

6.png

The problem is that the stacked bar chart does not-it shows 70 issues rather than 39 for 202006-any ideas on how to solve this?

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

You forgot to use ALLSELECTED in your MAX part.

 

I would think that your desired implementation will lead to bad UX.  Meaning that users can select June and any other prior month but only June values should be shown?  That is non-intuitive.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

You forgot to use ALLSELECTED in your MAX part.

 

I would think that your desired implementation will lead to bad UX.  Meaning that users can select June and any other prior month but only June values should be shown?  That is non-intuitive.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.