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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ovetteabejuela
Impactful Individual
Impactful Individual

PowerQuery Calendar

Help please...

 

I want the Starting date to lookup on a column (A Date column) from one of the Fact Tables and same goes with the End Date, How can I do that?

 

 

1 ACCEPTED SOLUTION

Hahahaha, I just found out!

 

    StartDate = List.Min(Table.Column(Table,"DateColumn")),
    EndDate = List.Max(Table.Column(Table,"DateColumn")),

View solution in original post

3 REPLIES 3
MFelix
Super User
Super User

Use the min and max function referenced to the column you want.

Regards

Mfelix

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



I can implement this using DAX using what you suggested but I just don't know how to do it yet in Power Query.

 

How do I issue Min on a column found from another table? Add a parameter? Sorry absolutely no idea how.

Hahahaha, I just found out!

 

    StartDate = List.Min(Table.Column(Table,"DateColumn")),
    EndDate = List.Max(Table.Column(Table,"DateColumn")),

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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