Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
kunkumnaveen
Specialist
Specialist

how to write dynamic expression

Hello All,

             when the  expression is like below it is working(value=85 correct)

                            Expression:

                                       sum({<SCOPE={'YES'},NUMBER={'030'}>}total VOLUME)


I tried to make expression dynamic then it is not working(value=0 incorrect)

                                   1)    sum({<SCOPE={'YES'},NUMBER={"$(=max(NUMBER))"}>}total VOLUME)

                                                                            

                                                                                or


                                     2) sum({<SCOPE={'YES'},NUMBER={'$(=max(NUMBER))'}>}total VOLUME)


Both the expressions are not working ,


LOAD

  right("/BIC/A_CDAYS",3) as NUMBER

FROM [lib.qvd]

(qvd);

Capture.PNG

kindly suggest how to make it dynamic



thanks




       

1 Solution

Accepted Solutions
tresesco
MVP
MVP

It could be because of the number format. Try like:

sum({<SCOPE={'YES'},NUMBER={"$(=Num(max(NUMBER),'000')"}>}total VOLUME)

View solution in original post

2 Replies
tresesco
MVP
MVP

It could be because of the number format. Try like:

sum({<SCOPE={'YES'},NUMBER={"$(=Num(max(NUMBER),'000')"}>}total VOLUME)

YoussefBelloum
Champion
Champion

Hi,

try it like this:

sum({<SCOPE={'YES'},NUMBER={$(=max(NUMBER))}>}TOTAL VOLUME)