Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.