Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I want to use a part of set analysis to be stored in variable. Any suggestions?
I have data like,
Description Amt
A 100
B 200
C 300
D 400
Set analysis is like =sum({<Description = {'A'}> }Amt). But I want to store Description = {'A'} in a variable and use that in a expression.
May be like this -
Thanks its working.
May I know why we get red line?
You may ignore that, its showing because editor assumes set expression is not properly written.
May be Try this Manner
make Variable vDescA
Description='A'
n write Set Analysis like
sum({<Description={"=$(vDescA)"}>}Amt)
if I want to add A Or B or C, then expression isn't working
then u used in vDesc
wildmatch(Description,'A','B','C')
and Write expression in text object
sum({<Description={"=$(vDesc)"}>}Amt)