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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors