Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I need to group a table based on previous date and its value
Or i already grouped it based on max date, can i get previous date and value corresponding to max date for each number?
Thanks
Solved! Go to Solution.
NewStep=Table.FromRecords(Table.Group(PreviousStepName,"Number",{"n",each Table.Skip(Table.Sort(_,{"date",1})){0}? ??_{0}})[n])
NewStep=Table.FromRecords(Table.Group(PreviousStepName,"Number",{"n",each Table.Skip(Table.Sort(_,{"date",1})){0}? ??_{0}})[n])
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.