Forum Discussion
Date default to today
I am looking for the below functionality. Please can someone suggest how to proceed
When I open a report the
1.date defaults to today and
2. also shows all dates >= today and
3. ability to switch dates, a user can change the date from today to something else and then it should show all dates >= selected date
Data
| Product | Qty | Expected Delivery Date |
| A | 10 | 20-Apr-21 |
| B | 15 | 21-Apr-21 |
| C | 20 | 22-Apr-21 |
| D | 10 | 19-Apr-21 |
| E | 20 | 18-Apr-21 |
| F | 15 | 20-Apr-21 |
| G | 10 | 18-Apr-21 |
Required PowerBi table if I open the report on 20-Apr-2021 (all expected delivery dates >= today)
| Product | Qty | Expected Delivery Date |
| A | 10 | 20-Apr-21 |
| B | 15 | 21-Apr-21 |
| C | 20 | 22-Apr-21 |
| F | 15 | 20-Apr-21 |
4 Replies
- NickMol25Frequent Visitor
To get the date of today: Simply create a new column or measure like this:
today = today().
To make sure that your report only shows the relevant dates from today onwards. Drag your Expected Delivery Date to the filters on this page or Filters on all pages box. Set the filter type to relative date and select a period.- satich989Frequent Visitor
Hi NickMol - thanks for looking
your solution doesnot solve for point 3 in my above request. Also want the flexibility for users to change dates.
- satich989Frequent Visitor
amitchandak - see that you have answered similar questions, please can you take a look. THe challenge here is the multiple criteria in addition to being fitlered for today.
- satich989Frequent Visitor
can someone point me on how to approach this?