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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
satich989
Frequent Visitor

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

ProductQtyExpected Delivery Date
A1020-Apr-21
B1521-Apr-21
C2022-Apr-21
D1019-Apr-21
E2018-Apr-21
F1520-Apr-21
G1018-Apr-21

 

Required PowerBi table if I open the report on 20-Apr-2021 (all expected delivery dates >= today)

ProductQtyExpected Delivery Date
A1020-Apr-21
B1521-Apr-21
C2022-Apr-21
F1520-Apr-21
4 REPLIES 4
satich989
Frequent Visitor

can someone point me on how to approach this?

satich989
Frequent 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. 

NickMol25
Frequent 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. 

NickMol25_0-1618922843127.png

 

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.

 

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

Top Solution Authors