Forum Discussion
Customized Slicer
- 4 years ago
Hi Larry_Wang , Larry,
Thanks for the screenshot.
I would suggest to Power query to create the custom grouping based on your requirement.
Using the 'Add a Column' transformation in Power Query -> add a Conditional Column to your query.
Refer screenshot above to see the conditions for Old dates and new dates above. You can modify as and how you need. Any new dates that are added will follow suit using this condition.
If this helps, please remember to mark my answer as a solution to your question and give thumbs up!
Thanks.
Hi dhruvinushah ,
Thank you for the suggetion on this issue. I did a test but I can only create group by list and if I add some new data entries in the source file, I can see some ungrouped values. See below picture for details. It is better to create a group or new column that converts all date earlier than 12/20/2021 with value "old" and the rest of the date change to "new".
Thanks,
Larry
Hi Larry_Wang , Larry,
Thanks for the screenshot.
I would suggest to Power query to create the custom grouping based on your requirement.
Using the 'Add a Column' transformation in Power Query -> add a Conditional Column to your query.
Refer screenshot above to see the conditions for Old dates and new dates above. You can modify as and how you need. Any new dates that are added will follow suit using this condition.
If this helps, please remember to mark my answer as a solution to your question and give thumbs up!
Thanks.
- Larry_Wang4 years agoHelper I
Hi dhruvinushah ,
This conditional column works fine for me and I use a hierachy slicer to do the filter. See picture below for details.
But if I create two seperate slicers like the ones shown in picture below, and I select New in slicer Custom_Date and there is no change in the second slicer. I checked the interaction settings and no issue.
Thanks,
Larry