Forum Discussion
Anonymous
6 years agoNot applicable
Error Multiple columns cannot be converted to a scalar value
Hello, I am attempting to gather a total occurance of an amount of tickets using a distinct values in a column which works great. But when I add filtering on which Year to sort my r...
- 6 years ago
Anonymous
Try like
CritSitTeamCount = CALCULATE( DISTINCTCOUNT( 'CRITSITS'[Ticket ID] ) ,RIGHT('CRITSITS'[CritSit Event Type],6) = "Metric", FILTER('CRITSITS', 'CRITSITS'[Year] = 2020 ) ) OR CritSitTeamCount = CALCULATE( DISTINCTCOUNT( 'CRITSITS'[Ticket ID] ) ,RIGHT('CRITSITS'[CritSit Event Type],6) = "Metric", 'CRITSITS'[Year] = 2020 )if you need more help make me @
Appreciate your Kudos.
amitchandak
Super User
6 years agoAnonymous
Try like
CritSitTeamCount =
CALCULATE(
DISTINCTCOUNT( 'CRITSITS'[Ticket ID] )
,RIGHT('CRITSITS'[CritSit Event Type],6) = "Metric",
FILTER('CRITSITS', 'CRITSITS'[Year] = 2020 )
)
OR
CritSitTeamCount =
CALCULATE(
DISTINCTCOUNT( 'CRITSITS'[Ticket ID] )
,RIGHT('CRITSITS'[CritSit Event Type],6) = "Metric",
'CRITSITS'[Year] = 2020
)
if you need more help make me @
Appreciate your Kudos.
- Anonymous6 years agoNot applicable
Thank you very much, your solutions worked great as expected.
Best regards,
Don