cancel
Showing results for 
Search instead for 
Did you mean: 
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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.