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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
rupaliqlik
Partner - Creator
Partner - Creator

Alt Function In qlikview

Hi Team,

 

There is one code in existing dashboard which is developed by someone else.I just wanted to know how to read this.I am not understanding this one.

Alt(IF(MATCH([Plant - Internal Inventory],'1012','1013','3113','E131','E132','E121'), Alt([#Net Unrestricted Inventory],0) + Alt([#Stock in Transit],0), 0),0)
+ Alt(IF(MATCH([Plant - Internal Inventory],'1003','1022','A516','A514'), Alt([#Stock Unrestricted Use Value],0)),0) AS [#Total Inventory_tmp]

 

 

#Alt Function

@abhijitnalekar 

Thanks,

Labels (2)
1 Reply
Qrishna
Master
Master

The alt function returns the first of the parameters that has a valid number representation. If no such match is found, the last parameter will be returned. 

https://help.qlik.com/en-US/qlikview/May2024/Subsystems/Client/Content/QV_QlikView/Scripting/Conditi...