Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
how can I use the sum function to determine the total of the order value of zta and zkb?
Somehow I don't really understand the syntax. It would be nice if somebody could help me.
Greetings
Ebi
| Sales Order Type | Order Value | 
| xy | 464 | 
| zta | 543 | 
| zkb | 343 | 
| xy | 545 | 
| zta | 5435 | 
| zkb | 434 | 
So the total of order value (zta + zkb )
Hi @Qlik_Bio06 ,
Maybe this:
=sum( {< [Sales Order Type] = {'zta','zkb'} >} [Order Value] )
I hope it can help.
Best Regards
Small change in above expression would be required, if total order value of (zta + zkb) is required witout honoring user selections
=sum( {1<[Sales Order Type] = {'zta','zkb'}>} [Order Value] )
Regards
GKhetan