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! Learn more

Reply
artblakey
Helper I
Helper I

Create a yearly bar chart that does not filter

Hi all,

 

I currently have multiple visuals that filter on a date-range Slicer.  This works well, but, what I would like to do is to make a static bar chart that does not follow the filter rules from the slicer.  I would like this bar chart to always show the current financial year (in this case: Oct 2019 to Sep 2020), and to have 12 bars showing totals for each month, regardless of what dates are selected in the slicer.

 

I have created a Date table with a CALENDARAUTO (9) function.  I tried using the Edit Interactions function, but I must not be doing something right.  Any help would be appreciated.

 

Thanks.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@artblakey , create a column current FY in your date table like

Start Of Year = STARTOFYEAR('Date'[Date],"9/30")
End of Year = ENDOFYEAR('Date'[Date],"9/30")

Current Year = if([Start Of Year] <=Today && [End of Year] >= Today() ,"Current Year", "Other Year")

And select " Current Year " this at the visual level and stop interaction with any other date slicer on the page

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

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@artblakey , create a column current FY in your date table like

Start Of Year = STARTOFYEAR('Date'[Date],"9/30")
End of Year = ENDOFYEAR('Date'[Date],"9/30")

Current Year = if([Start Of Year] <=Today && [End of Year] >= Today() ,"Current Year", "Other Year")

And select " Current Year " this at the visual level and stop interaction with any other date slicer on the page

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

Hi @amitchandak 

Thank you for your response.  I had to add () after the first Today, but then it worked well.

Appreciate your help.

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.

Top Solution Authors