Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
Qlik Community Office Hours: Join us on July 9th, 2025 - REGISTER HERE!
cancel
Showing results for 
Search instead for 
Did you mean: 
SrinithiS
Contributor
Contributor

Didn't get the supplier count on barchart

I need to find out the supplier who didn't run the request based on the total suppliers - suppliers who run the request and flag should be yes. The below code works in KPI but its not showing the result in bar chart when the dimension is year.

 

Count({<[flag]={'Yes'}>} Distinct [Supplier Id])-count({<[Supplier Id]={"=count([requestId])>0"}, [flag]={'Yes'}>} Distinct [Supplier Id])

1 Reply
Sayed_Mannan
Creator II
Creator II

try this,

 

Count({<[flag]={'Yes'}, Year>} Distinct [Supplier Id]) - Count({<[Supplier Id]={"=Count([requestId])>0"}, [flag]={'Yes'}, Year>} Distinct [Supplier Id])