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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

what output is come!!!!!!!!!!!!

let a=b+2 assign the variable then what it will show in out put         pls tell fast!!!!!!!!!!!!!!!!!!

1 Solution

Accepted Solutions
buzzy996
Master II
Master II

ya,tht's why I said on my previous post,if ur not defined the value for B,u won't able to see any thing.

if u define value for b like below

set b=10;

let a=b+2;

then can see value of a=12

View solution in original post

10 Replies
robert_mika
Master III
Master III

if b=2 the result will be

a=4

Colin-Albert
Partner - Champion
Partner - Champion

This post explains the difference between Let and Set.

The Magic of Variables

buzzy996
Master II
Master II

it won't give anything because u are not defined b value.

simospa
Partner - Specialist
Partner - Specialist

kumar rahul ha scritto:

let a=b+2 assign the variable then what it will show in out put         pls tell fast!!!!!!!!!!!!!!!!!!

Hi Kumar,

excuse me, but, why don't you try yourself to do this? It's a simple operation and not a real issue...

S.

amit_saini
Master III
Master III

Hi Rahul.

suppose:

SET x = 2 + 3;

and

LET y = 2 + 3;

on the front end,

x will be equal to '2+3' and y will be equal to 5.

Thanks,
AS

Not applicable
Author

hai sir sorry for irritating by asking this question i try in my desktop the variable does not shown anything then after i arise this question in community sorry........

buzzy996
Master II
Master II

ya,tht's why I said on my previous post,if ur not defined the value for B,u won't able to see any thing.

if u define value for b like below

set b=10;

let a=b+2;

then can see value of a=12

Not applicable
Author

that you boss i am new for qlikview thats way first i conform it

Not applicable
Author

not that thank