Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Karim_Khan
Creator III
Creator III

how to make the field constant

Hi Team,

    I want to know how to put the fields constant on the basis of selection and it should not impact or changes the value of other calculations.

How to achieve the same Pls  help?

Regards,
KK

KK
10 Replies
Qrishna
Master
Master

fields constant?

you mean lock the field values? or field values should not change upon  selections in another field?

explain a bit more.

Not applicable

If you want to lock try :

- click right on mouse in bar and select 'Detach'

If it's not what you want please specify more

jagan
Luminary Alumni
Luminary Alumni

Hi,

Your requirement is not clear, can you come up with an example and your expected output.  If you want ignore the selections in the Expression then you can use like below

Sum({<Dimension1=, Dimension2=, DimensionN=>} Sales)

The above expression ignore the selections in the Dimensions 1 to N, or you can specify

Sum({1} Sales)

This will always show the overall sales.

Regards,

Jagan.

Karim_Khan
Creator III
Creator III
Author

=sum({$<[Fiscal Year] = {$(=only([Fiscal Year]))},[Month in Fiscal Year] = {'<=$(=only([Month in Fiscal Year]))'},CATEGORY={'IOT'},[Sales Level 2]={"$(vSel2)"}>} [Net Bookings])

I want that the value of Sales Level 2 doesn't change if I select the Sales level 1.

KK
jagan
Luminary Alumni
Luminary Alumni

I didn't get u, can you attach sample file.

qlikviewwizard
Master II
Master II

Hi Karim,

Please attach the sample app with the data. SO that it would be easier to understand your requirement.

Anonymous
Not applicable

U could create a alternate state for your sales level 2 list as below. See if it applies to your need.

vSel2 = Concat({[Alternate State]}[Sales Level 2],',')

Karim_Khan
Creator III
Creator III
Author

Hi Fernando,

 

   Can you pls help what is the use of Alternate State in above expression?

Regards,

KK

KK
Not applicable

Use alternate states or lock the fields from the selections