Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi folks,
I am trying to calculate case duration (1 case consists of several tasks) and I amhaving issue with lookup function that should return the value with earlierst and also latest date. Example below:
I have 3 tables:
Table: DIM_DateTable (standard calculated date table)
Table: FACT_Cases with column:
Table: FACT_Tasks with columns:
I would need to calculate 2 columns in FACT_Case table with dates used in table FACT_Tasks:
Any help is much appreciated
IvanS
Solved! Go to Solution.
@IvanS , new columns
Case start = minx(filter(Fact, Case_id = earlier([Case ID]) , [Created Date])
Case Closed= Maxx(filter(Fact, Case_id = earlier([Case ID]) , [Close Date])
Power BI DAX- Earlier, I should have known Earlier: https://youtu.be/CVW6YwvHHi8
@IvanS , new columns
Case start = minx(filter(Fact, Case_id = earlier([Case ID]) , [Created Date])
Case Closed= Maxx(filter(Fact, Case_id = earlier([Case ID]) , [Close Date])
Power BI DAX- Earlier, I should have known Earlier: https://youtu.be/CVW6YwvHHi8
Thank you for prompt help. Worked like a charm! 🙂
User | Count |
---|---|
106 | |
86 | |
81 | |
73 | |
72 |
User | Count |
---|---|
112 | |
100 | |
98 | |
72 | |
66 |