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: 
Not applicable

Hello Everyone.

Hello everyone,

I am new to qlikview , working on a pivot table ,

which after selection hiding all the other unselected data, while i want to show all the data after selection also.

please help me,

I am using sum({1}{<col1='A',col2='B'>}numbers) in my expression.

and it is not working.

Thanks.

20 Replies
jagan
Luminary Alumni
Luminary Alumni

Hi,

Can you attach some sample file, it helps in understanding the issue and solve it quickly.

Regards,

Jagan.

Not applicable
Author

Try This,

Exp 1:

sum({<col1={'A'},col2={'B'},values=>}numbers)


Exp 2:

sum({<col1={'A'},col2={'B'},values=>}numbers)



Exp3:

sum({<col1={'A'},col2={'B'},values=>}numbers)

Not applicable
Author

Hii Nirmal ,

Thanks for Reply

values is not any kind of field in this , this is a calculated dimension as:

=if(match(AncestorId,'A','B','C','D','E'),AncestorName) and its label is Values

Not applicable
Author

ok try this,

sum({<col1={'A'},col2={'B'},AncestorId=,AncestorName=>}numbers)

Not applicable
Author

I did this also but my expression containing some value from ancestorid also ,i can't keep it blank like my expression contain 1 of variable for Fixed asset  less Accumulated Depreciation like:

=if(AncestorId='A',vFixedAsset,Sum({<AncestorId=,AncestorName=>}moneymeasures))

where vFixedAsset is

=sum({$<AncestorId={'P','Q','R'},str_pov_name={'ACTUAL'},AncestorName=>}money_measure)

similarly i have multiple conditions in my expression like above 1.

Not applicable
Author

Thanks Everyone , I am able to solve this problem.

The rest problem in this case is after selecting each value from the chart i donot want to show it on the top,

I want to show it always in its original place.

Means the order should not change in selecting values from dimension,

please help...

Not applicable
Author

Have you try this

sum({<col1={'A'},col2={'B'},AncestorId=,AncestorName=>}numbers)

Not applicable
Author

yes Nirmal I have tried this also , but some more fields need to be included in that.

Not applicable
Author

ok include what what you want to add

Not applicable
Author

Nirmal Can u please tell me the concept if i am writing code like:

if(only({<AncestorId=,str_coa_code=,str_fy=,AncestorName=,str_coa_description=>}AncestorId)='PAR007',prioryearfixed,sum(moneymeasure));

as i used this as a solution in expression

where prior year fixed is a valriable having some calculations.