Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Good afternoon, how are you? I have a question in Power bi.
I have the following problem: I have a data table, where I have a "Project" column, an "Initial Status" column, and a "Result Status" column. When a project is created, an identifier is assigned, and it is set to "Created" in the initial state, and when the project is submitted, it is set to "Submitted" in the result state.
I need to calculate the average number of days between when the project is created and when it is submitted.
I don't know how to calculate the delay of days per project, then do the sum and divide by the number of projects. Can you help me? Thank you!
| Project | Initial Status | Estado Result. | F. This. Tarea | F. Real Purpose |
| INFM-23016 | In Estimation | In Approval | 31/1/2023 | 1/2/2023 |
| INFM-23016 | Created | Unassigned | 31/1/2023 | 31/1/2023 |
| INFM-23016 | Unassigned | In Estimation | 31/1/2023 | 31/1/2023 |
| INFM-23016 | In Estimation | In Review | 31/1/2023 | 9/2/2023 |
| INFM-23016 | Created | In Estimation | 31/1/2023 | 31/1/2023 |
| INFM-23016 | In Approval | 100% Progress | 1/2/2023 | 9/2/2023 |
| INFP-21591 | In Planning | In Approval | 16/3/2023 | 16/3/2023 |
| INFP-21591 | In Approval | Approved | 16/3/2023 | 16/3/2023 |
| INFM-23016 | In Review | In Planning | 9/2/2023 | 13/2/2023 |
| INFP-21591 | Envoy | Overcome | 15/3/2023 | 15/3/2023 |
| INFP-21591 | In Review | In Planning | 15/3/2023 | 16/3/2023 |
| INFP-21591 | Created | Envoy | 20/10/2022 | 24/10/2022 |
| INFM-23016 | In Planning | In Approval | 13/2/2023 | 13/2/2023 |
| INFP-21591 | Approved | Envoy | 16/3/2023 | 17/3/2023 |
| INFM-23016 | In Approval | Approved | 13/2/2023 | 14/2/2023 |
| INFF-23103 | Created | In Estimation | 3/7/2023 | 3/7/2023 |
| INFM-23016 | Approved | Envoy | 14/2/2023 | 15/2/2023 |
Solved! Go to Solution.
then you need to create a date table.
Proud to be a Super User!
Thank you very much, if that's what I want. I forgot to request that it be difference of working days, Saturday and Sunday is not counted. What would it be like? With networkdays?.
Thanks a lot!
then you need to create a date table.
Proud to be a Super User!
is this what you want?
Proud to be a Super User!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 64 | |
| 32 | |
| 31 | |
| 27 |