Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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! 🙂
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
85 | |
83 | |
66 | |
60 | |
57 |
User | Count |
---|---|
183 | |
111 | |
105 | |
77 | |
70 |