Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Formatting the graph

v-kkf-msft Kindly help me here. I tried changing the measure but still created tickets are coming after closed tickets.

 

I want created tickets to be first in the graph and then the closed tickets.

 

 

 

Measure:

 

Combine =
var tab =
FILTER(
ALLSELECTED('devops-query-spr2'),
'devops-query-spr2'[Closed Month'Year] = MAX('devops-query-spr2'[Month'Year])
)
RETURN
IF(
MAX('Table'[Tickets]) = "Closed Tickets",
SWITCH(
MAX('Table'[Types]),
"Issue", CALCULATE( [Closed Issue], tab ),
"Feature", CALCULATE( [Closed Feature], tab ),
"User Story",CALCULATE([Closed User Story],tab ),
"UI/UX", CALCULATE( [Closed UI/UX count], tab ),
"Infra", CALCULATE( [closed Infrastructure], tab )
),
SWITCH(
MAX('Table'[Types]),
"Issue", [Issue],
"Feature", [Feature],
"User Story", [User Story],
"UI/UX", [UI/UX count],
"Infra", SUM('devops-query-spr2'[Infrastructure])
)
)
 
Regards,
Himanshu

2 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      amitchandak It worked perfectly.

       

       

       

      As always you're a saviour ðŸ˜€

       

      Regards,

      Himanshu