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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.