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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. 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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.