Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Helper III
Helper III

Filter by maximum date



I am pulling data that includes data from many weekly instances/data cuts. For each record I have fields that tell me the data cut's fiscal year, fiscal period and fiscal week (within the fiscal period). Please can you tell me how to filter by the latest weekly data cut? (i.e. the maximum of the combined fiscal year, fiscal period and fiscal week (within the fiscal period))


Many thanks,



Community Support
Community Support

Hi @PowerWhy ,

Consider filtering out the largest fiscal year first:

= Table.SelectRows(PreviousStepName, each [Fiscal Year] = List.Max(PreviousStepName[Fiscal Year]))


Then filter out the records equal to the largest Fiscal Week.

= Table.SelectRows(PreviousStepName, each [Fiscal Week] = List.Max(PreviousStepName[Fiscal Week]))



Best Regards,

Community Support Team


If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Resolver I
Resolver I

Can you please provide some examples, screenshot or something ? 🙂

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors