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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors