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
oscarmqz
Advocate II
Advocate II

Show last month in chart if no month is selected in another chart.

Hi, I have two charts. One is monthly and the other shows daily bars. I edited the interactions in the monthly one, so when a month is selected, the daily charts is filtered to that month only, instead of highlight. So far so good.... the problem I've not been able to fix is that if no month is selected in 1st chart, I'd like to show latest month by default on the daily chart. Any idea how to achieve this? Thanks in advance!

 

 

1 REPLY 1
vega
Resolver III
Resolver III

Did you try using the ISFILTERED or ISCROSSEDFILTERED function? You can do something along the lines of:

 

Measure :=

IF(
ISFILTERED('Date Table'[Months]),
[Regular Measure],
[Measure that returns results for only the latest month]
)

If you are having difficulty coming up with the measure for the last month only, it should be something along the lines of:

 

[Measure that returns results for only the latest month] :=

CALCULATE(
[Regular Measure],
'Date Table'[Month] = MAX('Date Table'[Month])
)

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