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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
pbi_rafal
Frequent Visitor

Connection between different dates

Hi,

 

I have two data sets, where the main one is refreshed every day and the 2nd one is based on the user's ad hoc intervention. To connect two data sets together I've created Reporting_Date table with distinct reporting_dates. Now I would like to create Manual_Date column where I assigned for each reporting date relavant manual input date. Can you help me with the DAX formula to receive Manual_Date column? Manual Input date should be equal or higher than Reporting_Date but also we should take into account that we need to take the most recent one (if exist)

 

date.JPG

Thanks

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @pbi_rafal ,

 

From what I can understand the first two table are is your initial input try the following steps:

Power query:

  1. Do a new table with a merge of both table by date
  2. Expand the column Manual Input
  3. Fill down

1.

MFelix_1-1680181988809.png

 

 

2.

MFelix_2-1680182006216.png

 

3.

MFelix_0-1680181977592.png

 

 

 

 

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

2 REPLIES 2
pbi_rafal
Frequent Visitor

Brilliant solution! Thanks Miguel!

MFelix
Super User
Super User

Hi @pbi_rafal ,

 

From what I can understand the first two table are is your initial input try the following steps:

Power query:

  1. Do a new table with a merge of both table by date
  2. Expand the column Manual Input
  3. Fill down

1.

MFelix_1-1680181988809.png

 

 

2.

MFelix_2-1680182006216.png

 

3.

MFelix_0-1680181977592.png

 

 

 

 

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric Community.