The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a summarized table from my fact table as below and its Case_ID has 1:* relationship with fact table.
Below are measures for each column:
Solved! Go to Solution.
I figured out how to make it work. Below is my new SummarizedTable. Its [Elapsed Days] column is the same as "Case Elapse Days" measure for each Case.
I figured out how to make it work. Below is my new SummarizedTable. Its [Elapsed Days] column is the same as "Case Elapse Days" measure for each Case.
MAX and MIN work exactly as they are supposed to. They look for the maximum and minimum values in a filter context. Can you define Case Elapse Days more clearly?
For any particular Case_ID at the left table in my screenshot above, Case Elapse Days is the date difference between ticket start date and ticket end date. However, when ticket is grouped by "# of Assignees" at the right table, Case Elapse Days is the date difference between earliest start date and latest end date in the group, most likely from different tickets. But that is NOT what I want. I simply want the AVERAGE or SUM values of Case Elapse Days at the right table. For example, for yellow highlighted group 29, I want either SUM of (56, 53) or AVG of (56, 53). Actually, AVG is better in my case. What's the best way to address it?
Thanks.
I am thinking about create a new "Case Elapse Days" column in my SummarizedTable for each case. However, if I use the same Case Elapse Days measure formular to create column, every ticket has 59 max value. How do I get the correct value for each Case?