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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

script logic

so my requirement is if flag=ref then its refinance



and if flag=d - if flag=ref is non refinance how do i write script



both in single dimention when i get as dimention it shold have refinance and non refinance



pls help me

6 Replies
Not applicable
Author

It sounds like you want a field as follows:

If(FLAG='REF','Refinance','Non-Refinance')

This would show REF as Refinance and anything else as Non-Refinance.  Is that what you are looking for?

Not applicable
Author

Hai,

That is straight logic

but wt my req is if flag=ref refinanace

and if flag=d - if flag=ref as non refinance

khadeer
Specialist
Specialist

Try this

if(flag='Reference', 'Reference',if(flag='D' and flag<>Reference,'Non reference')) as Ur dimension

jagan
Partner - Champion III
Partner - Champion III

Hi Ram,

Simply create a inline table as

LOAD * INLINE [

Flag,    Category

ref, Refinance

d, Non Refinance];

or load from excel file.

Regards,

Jagan.

Not applicable
Author

sorry i am not getting

i need both shold be in dimention

y means i want to show pie chart % for both

and one more help last 8 roling quarters and eight months how do i find in the chart pls help me

khadeer
Specialist
Specialist

create inline table n join that table to ur table