Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
HI Team ,
we do have requirement to default our date slider to current date and current date -5. The slider is picking the min and max date values and we are good with the max date value but the default min value whould be max date -5. This requirement is only for default setting and user should have feasibility to change.
Any inputs on this.
Solved! Go to Solution.
Hi, @dhwani
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Table:
You may use the 'Date' column as a slicer and set the slicer as 'Relative Date Slicer'.
Today is 9/14/2020. Here is the result.
For further information, please refer to the document .
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @dhwani
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Table:
You may use the 'Date' column as a slicer and set the slicer as 'Relative Date Slicer'.
Today is 9/14/2020. Here is the result.
For further information, please refer to the document .
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@dhwani Can you use a relative Date slicer? Probably the cleanest. Otherwise you can do it by creating a new column and an additional slicer but it is kind of ugly.
@dhwani , No function is available to default the date slicer. The max you can do is have a column like this control the dates in the slicer or a slicer near to the date
If( [Date]>=today() -5 && [Date] <= Today() , "Last Five" ,"Others")
User | Count |
---|---|
126 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
137 | |
116 | |
102 | |
71 | |
61 |