Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
durgabhavani
Creator III
Creator III

help me in writing expression?

Hi All,

I have field billing

billing

accounts

payment

tenders

dues section

fines section

I am using billing field as dimenstion, now i dont want to display tenders and dues section columns in my chart?

Can anyone please help me ASAP.

Thanks,

Durga

29 Replies
durgabhavani
Creator III
Creator III
Author

no it is clearly showing syntax error under { beside tenders. but expression is ok. I am not get output as required.

petter
Partner - Champion III
Partner - Champion III

it is a well known bug in the syntax highlighter/checker that has been there for years...

sunilkumarqv
Specialist II
Specialist II

Try like this in your calculated dimension

if( billing <> 'tenders' and billing <> 'dues section' ,billing)

durgabhavani
Creator III
Creator III
Author

bars are displaying still now.

durgabhavani
Creator III
Creator III
Author

Please advice me to display bars whatever i required?

anbu1984
Master III
Master III

Can you post sample app

durgabhavani
Creator III
Creator III
Author

I have no access to post sample app, I just want to hide the particular bars (unnecassary which is not required to client) in bar chart

Otherwise  if I am able to display particular bars also fine.

I am trying to write calicualted dimension but not get output.

Thanks,

Durga

anbu1984
Master III
Master III

check this

durgabhavani
Creator III
Creator III
Author

Hi Anbu,

Please give me the screenshot, i have no access to download and upload in office.

Waiting for your reply!

Durga

anbu1984
Master III
Master III

Load * Inline [

billing,payment

tenders,100

dues section,200

aaa,50

bbb,60 ];

In Chart,

Calculated dimension: =Aggr(Only({<billing -= {'tenders', 'dues section'}>} billing), billing)

Expr: sum(payment)

Check "Suppress When Value is NUll" in chart

740321.png