Discussion board where members can learn more about Qlik Sense App Development and Usage.
Need some help with expression.
I have a dataset of vendor price list in a form of following:
ItemId, Vendor, PriceDate, Price (whole dataset see below)
My app has one sheet and one table chart containing these four dimensions and some measures. They work fine.
I'm having a headake trying to make a last needed expression.
To define the best vendor price I need first to leave only records with Price > 0.
Then I sholud define last PriceDate by ItemId and Vendor.
Having done this I need to take min Price from all vendor prices and this Price is what i was looking for.
Of course I have to show in chart name of Vendor and PriceDate.
The problem is to make an expression showing PriceDate of the minimal vendor price, descripbed above.
In my test case the correct answer is:
LOAD * INLINE [ItemId, Vendor, PriceDate, Price
Go to Solution.
Check the attached
If I remove Vendor from table qlik leaves only record with ItemId = B230
This is not correct. Both items should stay and result (Price and Date) should be the same.
I understand that it is quite a different task, but...
Anyway, what is the solution?