Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all,
i have the following data structure tables:
requests
| request_id | name |
| 1 | james |
| 2 | rob |
| 3 | sam |
activities
| activity_id | request_id | event | date |
| 1 | 1 | CREATE | 2022-01-10 |
| 2 | 1 | UPDATE | 2022-01-12 |
| 3 | 2 | CREATE | 2022-01-12 |
I want to add a column "create_date" to the requests-table with the date from the activities where the event is CREATE.
There is a one-to-many relationship between requests and activities.
I know this should not be that hard, but somehow i struggle to come op with an easy solution. My idea was using lookupvalue based on the filtered activities-table.
Thanks for your help!
Solved! Go to Solution.
Hi @jk13 ,
Create column with below code:-
create date =
CALCULATE(
MAX(activities[date]),
activities[event] = "CREATE"
)Output:-
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @jk13 ,
Create column with below code:-
create date =
CALCULATE(
MAX(activities[date]),
activities[event] = "CREATE"
)Output:-
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 38 | |
| 36 | |
| 29 | |
| 28 |
| User | Count |
|---|---|
| 127 | |
| 88 | |
| 78 | |
| 66 | |
| 65 |