On the column chart component, create 1 Dimension as the date and 2 KPIs to get 2 Bars.
Sum the values of Value B when ends in 'PV1'
SUM(
CASE WHEN "TABLE"."VALUE_A" LIKE '%PV1' THEN "TABLE"."VALUE_B"
ELSE 0
END)
Sum the values of Value V when ends in PA1
SUM(
CASE WHEN "TABLE"."VALUE_A" LIKE '%PA1' THEN "TABLE"."VALUE_B"
ELSE 0.0
END)
If you just want to count the cases, then
SUM(
CASE WHEN "TABLE"."VALUE_A" LIKE '%PA1' THEN 1.0
ELSE 0.0
END)
On the column chart component, create 1 Dimension as the date and 2 KPIs to get 2 Bars.
Sum the values of Value B when ends in 'PV1'
SUM(
CASE WHEN "TABLE"."VALUE_A" LIKE '%PV1' THEN "TABLE"."VALUE_B"
ELSE 0
END)
Sum the values of Value V when ends in PA1
SUM(
CASE WHEN "TABLE"."VALUE_A" LIKE '%PA1' THEN "TABLE"."VALUE_B"
ELSE 0.0
END)
If you just want to count the cases, then
SUM(
CASE WHEN "TABLE"."VALUE_A" LIKE '%PA1' THEN 1.0
ELSE 0.0
END)
Thanks,
small updates and it works fine :-)
count(distinct
CASE WHEN "TABLE"."VALUE_A" LIKE '%PV1' THEN "TABLE"."VALUE_B"
ELSE NULL
END)