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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Text object: formula

Hi,

I was trying to create  a text object in order to show complaints for 2016 and by phone.

to do that in text i write this:

=Num(count({<DateReceivedYear={"2016"} and SubmittedViaName={"Phone"}>}ComplaintId), '#,##0', '.' , ',' )

but it turns out an error.

If I only write one condiction it works but as this case is of two conditions it does not works (I don't know if the ommand "and" is right etc)

Could you help me please?

Thanks

Labels (1)
1 Solution

Accepted Solutions
Digvijay_Singh

Use single quote for literals -

=Num(count({<DateReceivedYear={2016},SubmittedViaName={'Phone'}>}ComplaintId), '#,##0', '.' , ',' )

View solution in original post

3 Replies
Digvijay_Singh

try this -

=Num(count({<DateReceivedYear={2016},SubmittedViaName={"Phone"}>}ComplaintId), '#,##0', '.' , ',' )

Digvijay_Singh

Use single quote for literals -

=Num(count({<DateReceivedYear={2016},SubmittedViaName={'Phone'}>}ComplaintId), '#,##0', '.' , ',' )

Anonymous
Not applicable
Author

Perfect,

You are a master!!

Thanks a lot