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
Anonymous
Not applicable

My Date Bucket Filters aren't working when clicked on

Hi, I have a weird issue.
I have a # of filters on my report that work great. No issues at all. All except Date Buckets
I have a field on SQL Load that shows datebucket (integer) = 1,2 or 3, each being based on a date range
(<1 day, 1-3 days, 3 > 3days.
So every record will have a value of 1,2 or 3 

I load this table into the report, then have the above as a bar chart.  I then want to click on each bar and depending on the bar clicked, only show records that match the clicked bar.

 

Kind of thought this would be a no brainer. I was wrong.

SteveFromLI_0-1630863443743.png

No matter which bar you click on, the records show all, completely ignoring what was clicked (EX. clicking on th green bar should show a filtered dataset of 228 records.

Each of the three buckets above are measures, built the following way

<1 Bus. Days = CALCULATE( DISTINCTCOUNT( Main[id]), Filter(Main,Main[Bus Days Buckets]=1))
<1 - 3= CALCULATE( DISTINCTCOUNT( Main[id]), Filter(Main,Main[Bus Days Buckets]=2))
<1 - 3= CALCULATE( DISTINCTCOUNT( Main[id]), Filter(Main,Main[Bus Days Buckets]=3))

 

The filtering fails.

Any help would be extremely appreciated. I'm spending my labor day weekend trying to figure this out and I just ran out of ideas.

Thanks, Steve

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi and thanks for your help.  But I'm going to cancel this request because I was able to get t working on my own. I basically made a mistake that became apparent after many hours of looking my PBI report over..

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

I'd like to add a follow up to my issue.
I added a slicer to see if it would work as a filter when clicked, sure enough, it worked when the user clicks the slicer!

SteveFromLI_0-1630865626805.png

 

So what the problem appears to be is that when clicking on the bar, it doesn't behave as if it's a slicer.
I want the bar to be the representative of 1,2 or 3 when clicked. It works in the slicer but not when clicking the bar on the chart.

Help!

Thanks, Steven

Hi, @Anonymous 

I'm not quite sure what you mean by 'Date Bucket Filters'. Is it a custom visual?

Could you provide a sample file for further research?

 

Best Regards,
Community Support Team _ Eason

Anonymous
Not applicable

Hi and thanks for your help.  But I'm going to cancel this request because I was able to get t working on my own. I basically made a mistake that became apparent after many hours of looking my PBI report over..

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.