Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

MAX (Total) not working

Hi,

I have a table of inventory items transactions, I'm trying to have a pivot table per item and other dimensions to get the unit cost per item for the last transaction done per date, but its working only for one item selected, but for all items it result with zero, following expression had been used

sum(if(trasaction_date=MAX(TOTAL transaction_date),trasaction_cost,0))

if someone can help on this issue, thank you

Firas Ahmed

14 Replies
Not applicable
Author

thank you nirmal, can you pls. advice how to upload?

nirav_bhimani
Partner - Specialist
Partner - Specialist

Hi,

You can use the advanced editor to attach files to your posts.

You will find this on the top right of your the text area (see the image for reference)

advancededitor.png

And Browse for your files using the Browse button.

Attachfiles.png

Regards,

Nirav Bhimani

Not applicable
Author

pls. find attached a sample data

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     This has a section access, kindly give us user name and password of user and admin

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

admin/noaccess