Forum Discussion

NT2510's avatar
NT2510
Frequent Visitor
6 years ago

Create Bins/Groups by Selected Date Slicer

Hi, I have hierarchical date slicer that shows date as Year->Quarter->Month (Table1[Created Date]).

 

On X-axis, I have month count calculated as  'Table1[Created Date] - Date(2014,1,1). So, month count is 1,2,3...12,13,14...till current month. Now, based on the date selected in slicer, I want to generate different Month count bins on x-axis such that first bin always starts with month selected in the slicer and all other bins should show current month count + 12.

Here are some examples: 

 

Created DateBin1Bin2Bin3
2/1/20200-22-14.14-26.
4/1/20200-44-16.16-28.
7/1/20200-77-19.19-31


I was able to create bins using calculated column but they wont dynamically change based on the slicer selected date/month. 

 

Any help would be appreciated. Thanks

4 Replies