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 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! 🙂
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 |
---|---|
112 | |
99 | |
73 | |
72 | |
49 |
User | Count |
---|---|
145 | |
109 | |
109 | |
90 | |
64 |