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: 
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])