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.
Hello folks,
I would like to display on a "line and clustered chart" the number of tickets opened and closed per year week.
First I have my data table that looks like this :
To do that, I followed the answer given in this topic LINK
I created a calendar table and I linked it to the "creation date" :
To finish, I created two columns in the table to put a 0 or 1 if closed or opened :
Hi @Anonymous ,
this happens because you connect to [Created date]. You need to add a new relationship between your two tables, between Calendar[Date] and Data[Closed date]. This second relationship will be inactive. In order to make use of it, you have to use the USERELATIONSHIP-function inside a measure, something like this
measureClosed = CALCULATE ( SUM ( Data[Closed] ); USERELATIONSHIP ( Data[Date Closure]; Calendar[Date] ) )
As for your cumulative count, it will depend a little on you Calendar-table, but in general it should look something like this
cumulative open = CALCULATE ( SUM ( data[open] ); FILTER ( ALL ( Calendar ); Calendar[Week] <= MIN ( Calendar[Week] ) && Calendar[Year] = MIN ( Calendar[Year] ) ) )
Cheers,
Sturla
User | Count |
---|---|
66 | |
46 | |
20 | |
18 | |
15 |
User | Count |
---|---|
120 | |
41 | |
40 | |
28 | |
23 |