The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
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,
PW
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,
Gao
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
Can you please provide some examples, screenshot or something ? 🙂