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.
Hi everyone! Just wanna ask for help on creating a calculated column that would get the Last Project & date of a user in the table. Below how it looks:
The highlighted column is the one that I am trying to achieve.
Ideally this should how my table would look like.
Thank you!!
Solved! Go to Solution.
@krixtsup3r , New columns
Last Proj =
var _date = maxx(filter(Table, [User_id] = earlier([user_id]) && [Date] < earlier([Date]) && [Project] <> EARLIER([Project])),[Date])
return
maxx(filter(Table, [User_id] = earlier([user_id]) && [Date] =_Date && [Project] <> EARLIER([Project])),[Project])
Last Date = maxx(filter(Table, [User_id] = earlier([user_id]) && [Date] < earlier([Date]) && [Project] <> EARLIER([Project])),[Date])
This works! Thank you!
@krixtsup3r , New columns
Last Proj =
var _date = maxx(filter(Table, [User_id] = earlier([user_id]) && [Date] < earlier([Date]) && [Project] <> EARLIER([Project])),[Date])
return
maxx(filter(Table, [User_id] = earlier([user_id]) && [Date] =_Date && [Project] <> EARLIER([Project])),[Project])
Last Date = maxx(filter(Table, [User_id] = earlier([user_id]) && [Date] < earlier([Date]) && [Project] <> EARLIER([Project])),[Date])
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
45 | |
25 | |
19 | |
16 | |
8 |
User | Count |
---|---|
71 | |
49 | |
45 | |
20 | |
17 |