Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
sona_sa
Creator II
Creator II

Expression Threshold Logic Help

Hi Team, I have a scenario like, Please check my attached screen shot.

I you will check, My selection --> VSelection1 --> I have selected Jan 2019 and VSelection2 --> I have selected Feb 2019 Below my Straight Table where Variance1 --> is VSelection1 selection data and  Variance2 --> is VSelection2 selection data and Variance --> is Column1- Column2 (Output).

On the left side Millions and No (Exclude IFRS Group options) Is selected.

For this screen shot--> These are the parameter I have used and my expression logic is working properly. Expression is below:

if(GetFieldSelections(roundingOptions)='Millions',

if(GetFieldSelections(ifrsOptions)='No',

sum({<account={'EXPENSE'},NewDate={'$(=vSelection1)'}>}non_ pti)/1000000,

sum({<account={'EXPENSE'},NewDate={'$(=vSelection1)'}>}non_ pti_ cc)/1000000)

Now I want one more selection that is on lef tside - Threshold --> 1M$ / 2M$ / 3M$ --> By default it is not selected, But I select 1M$, From the straight table (Greatter Than) >1M$ Value should to display in straight table. If I select 2M$, From the straight table >2M$ Value should to display.

For current screen shot only 2 row will be display --> i.e Gross Revenue and Controllable.

For Threshold Options I have done the script -- 

Threshold:
Load * Inline [
Text, Value
'1 M $', 1000000
'2 M $', 2000000
'3 M $', 3000000
];

So team can you help me on this.

Regards,

AK

Labels (1)
1 Reply
sona_sa
Creator II
Creator II
Author

Hi,

I tried by :

if(GetFieldSelections(roundingOptions)='Millions',
if(GetFieldSelections(ifrsOptions)='No',

sum({<sub_account={'EXPENSE_TYPE'},NewDate={'$(=vTime1)'},Text,Value={">$(=only(Value))"}>}non_controllable_pti)/1000000,
sum({<sub_account={'EXPENSE_TYPE'},NewDate={'$(=vTime1)'},Text,Value={">$(=only(Value))"}>}non_controllable_pti_ex_cc)/1000000)

Not Working.

AK