Skip to main content
Question

Hy Guys!I would like to count how many activities started from the year 2023 ?You know?

  • June 20, 2023
  • 2 replies
  • 0 views

ariane.reis
Level 5
Forum|alt.badge.img+1
Hy Guys! I would like to count how many activities started from the year 2023 ? You know?

2 replies

Forum|alt.badge.img+14

SUM(PU_COUNT("CASES_TABLE", "ACTIVITIES_TABLE"."ACTIVITIES", YEAR("ACTIVITIES_TABLE"."EVENTTIME") >= 2023))


kailash.potha12
Level 10
Forum|alt.badge.img+6

You can try - SUM (CASE WHEN YEAR("ACTIVITIES_TABLE"."EVENTTIME") >= 2023 THEN 1 ELSE 0 END )