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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
MindaugasBacius
Partner - Specialist III
Partner - Specialist III

Front End calculation

Hello Community

I am facing some middle-week crises 🙂

Looks like a simple task, yet not able to crack it.

I have data from A:C columns and need a result in E:G.

Need a COUNT(DISTINCT SKU) according to the Supplier lowest Rating.

MindaugasBacius_0-1714462343848.png

Supplier Rating COUNT(DISTINCT SKU)
A 1 20
A 2 11
A 3 12
A 4 13
B 3 14
B 4 15
C 2 16
C 3 17
C 5 18

Thank you guys!

 

Labels (3)
1 Solution

Accepted Solutions
BrunPierre
Partner - Master II
Partner - Master II

3 Replies
BrunPierre
Partner - Master II
Partner - Master II

Hi, this should work.

=Count(Distinct If(Rating = Aggr(Min(Rating), Supplier), SKU))

MindaugasBacius
Partner - Specialist III
Partner - Specialist III
Author

Sadly it's not working.

Any thoughts?

BrunPierre
Partner - Master II
Partner - Master II

BrunPierre_2-1714474878031.png