Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all,
There are 4 column in Power Query: [Position ID],[Modified Date],[Date],[FTE Count], the data type of [Modified Date] is Date/Time . Data Type of [Date] is Date.
I want to add a new column in power query after step "Filtered Row2".
The condition is: for each [Position ID] (I just filter one ID as example), for each day, get the value of [FTE Count] at the latest time of that day's [Modified Date]. Result like this:
I want to insert step after, to group by, how should I write the code?
I greatly appreciate your help!!!
Branko
Solved! Go to Solution.
=Table.FromRecords(Table.Group(#"Filtered Row2",{"Position ID","Date"},{"n",each Table.Sort(_,{"Modified Date",1}){0}})[n])
=Table.FromRecords(Table.Group(#"Filtered Row2",{"Position ID","Date"},{"n",each Table.Sort(_,{"Modified Date",1}){0}})[n])
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
10 | |
7 | |
6 | |
6 | |
6 |