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

calculated dimension if and

Why this works for a field in a listbox and not for a calculated dimmension in a pivot table

=if(left(conta_id,2)='92'and Len(conta_id)=4,conta_id)

thank you for your time

4 Replies
MK_QSL
MVP
MVP

Try

=IF(Left(conta_id,2) = 92 and Len(conta_id)=4, conta_id)

Not applicable
Author

thank you but didn´t work

MK_QSL
MVP
MVP

Can you provide sample data or sample apps?

richard_pearce6
Partner - Specialist
Partner - Specialist

Try adding the code to your script and create a new field

Richard

QlikCentral.com