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

Announcements
Note: You may notice some temporary visual or styling issues in the Community. Our vendor is actively investigating.
cancel
Showing results for 
Search instead for 
Did you mean: 
SrinithiS
Contributor II
Contributor II

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