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.
I have tried a number of things to try to make this work but I can not seem to figure it out. I have a project table which holds the created date for a project and a status table which holds status change dates and project status as a decimal. A project may have many different status changes.
My Goal is to find the time between the created date for a project and each status change. I am not sure if I need to use the project table or not considering the status tables contains the created date for the project.
Project ID | Status Extract | Status Change Date | Created date |
13568 | 3.0 | 7/15/20 | 7/10/20 |
13568 | 4.0 | 7/16/20 | 7/10/20 |
15598 | 1.0 | 7/18/20 | 7/16/20 |
15598 | 2.0 | 7/20/20 | 7/16/20 |
13568 | 3.0 | 7/20/20 | 7/10/20 |
Things to keep in mind: a project can go backwards or forward with status changes, status Extract starts at 1.0 and ends a 4.0, and there is a Primary key on the status table. Product ID is the FK in the status table while it is the primary key in the product table.
I have tried a couple things. This is an example of one thing I have tried but it didn't work.
Solved! Go to Solution.
@ConnorH , What output you need. You have created date and status date with you, you can take a date diff.
new column = Datediff([created_date],[status change date],day)
In case you want to have diff with the previous record. refer to this
@ConnorH , What output you need. You have created date and status date with you, you can take a date diff.
new column = Datediff([created_date],[status change date],day)
In case you want to have diff with the previous record. refer to this
Yes sorry, I pressed delete on this post but I guess it didnt get deleted.
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 |
---|---|
39 | |
25 | |
20 | |
14 | |
8 |
User | Count |
---|---|
71 | |
48 | |
46 | |
20 | |
16 |