

{"id":39426,"date":"2018-11-06T14:16:48","date_gmt":"2018-11-06T08:46:48","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=39426"},"modified":"2018-11-04T17:31:21","modified_gmt":"2018-11-04T12:01:21","slug":"qlik-sense-conditional-functions","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/qlik-sense-conditional-functions\/","title":{"rendered":"Qlik Sense Conditional Functions &#8211; Syntax and Example"},"content":{"rendered":"<h2><span style=\"font-weight: 400\">1. Objective<\/span><\/h2>\n<p><span style=\"font-weight: 400\">Today, we will see Qlik Sense Conditional Functions. Moreover, we will discuss syntax and example of Conditional Functions in Qlik Sense. Conditional functions evaluate an expression based on a specific condition and if that expression evaluates to be true for that condition then the action will be executed otherwise not.<\/span><\/p>\n<p>So, let&#8217;s start Qlik Sense Conditional Functions Tutorial.<\/p>\n<div id=\"attachment_39430\" style=\"width: 1210px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/Qlik-Sense-Conditional-Functions-01.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-39430\" class=\"size-full wp-image-39430\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/Qlik-Sense-Conditional-Functions-01.jpg\" alt=\"Qlik Sense Conditional Functions\" width=\"1200\" height=\"628\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/Qlik-Sense-Conditional-Functions-01.jpg 1200w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/Qlik-Sense-Conditional-Functions-01-150x79.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/Qlik-Sense-Conditional-Functions-01-300x157.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/Qlik-Sense-Conditional-Functions-01-768x402.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/Qlik-Sense-Conditional-Functions-01-1024x536.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/Qlik-Sense-Conditional-Functions-01-520x272.jpg 520w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><p id=\"caption-attachment-39430\" class=\"wp-caption-text\">Qlik Sense Conditional Functions &#8211; Syntax and Example<\/p><\/div>\n<h2>2. Qlik Sense Conditional Functions<\/h2>\n<h3><span style=\"font-weight: 400\">i. alt Function in Qlik Sense<\/span><\/h3>\n<p><span style=\"font-weight: 400\">The alt() function evaluates a condition for several (alternate) parameters one by one and if the condition matches none of the parameters or expressions then the last \u2018else\u2019 value is returned. There may any number of alternative parameters that we can add in the function\u2019s expressions.<\/span><\/p>\n<p><strong>The syntax for alt function in Qlik Sense<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">alt(expr1[ , expr2 , expr3 , ...] , else)<\/pre>\n<p><span style=\"font-weight: 400\">Here, the expr1 will be the first expression to be evaluated, then of the condition for this expression returns false then the second expression, expr2 is evaluated for the given condition. This continues until the logic finds the expression match for the condition or for which the condition evaluates to be True. If none of the given parameters or expression matches the condition, then the expression\/value for \u2018else\u2019 is returned.<\/span><\/p>\n<p><strong>For example,<\/strong><\/p>\n<p><span style=\"font-weight: 400\">alt( date#( dat , &#8216;YYYY\/MM\/DD&#8217; ),<\/span><\/p>\n<p><span style=\"font-weight: 400\">date#( dat , &#8216;MM\/DD\/YYYY&#8217; ),<\/span><\/p>\n<p><span style=\"font-weight: 400\">date#( dat , &#8216;MM\/DD\/YY&#8217; ),<\/span><\/p>\n<p><span style=\"font-weight: 400\">&#8216;No valid date&#8217; )<\/span><\/p>\n<p><span style=\"font-weight: 400\">This expression has three parameters or possible expressions for the date format. If an entered data\u2019s format matches any of the three formats the condition will become True and the respective date will be displayed in the proper format. It will return a dual format value having both text and numeric interpretations to of the date. But if the entered date or value does not match these three date formats then \u2018No valid date\u2019 note will be returned which is the \u2018else\u2019 statement. <\/span><\/p>\n<h3><span style=\"font-weight: 400\">ii. class Function in Qlik Sense<\/span><\/h3>\n<p><span style=\"font-weight: 400\">The class() function makes classes for data values or to put it in another way, it classifies and sorts the values entered by the users into certain classes defined by this function. This function takes a variable value evaluates it for the interval condition specified for that variable and puts it in that category or class. Let us say that there is a variable \u2018Percentage\u2019 and if the percentage = 74 then using the class function you can put this into a range or class of 70 to 80. <\/span><\/p>\n<p><strong>The syntax for Qlik Sense class Function<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">class(expression, interval [ , label [ , offset ]])<\/pre>\n<p><span style=\"font-weight: 400\">This gives the result in a&lt;=x&lt;b<\/span><\/p>\n<p><span style=\"font-weight: 400\">Where <\/span><i><span style=\"font-weight: 400\">expression<\/span><\/i><span style=\"font-weight: 400\"> is the variable or parameter that you define.<\/span><\/p>\n<p><i><span style=\"font-weight: 400\">Interval<\/span><\/i><span style=\"font-weight: 400\"> is the range that defines the minimum and maximum values of a class, i.e. if you set the interval to be 10 then for every variable value the range will be set for 10 values like 30 to 40 for 34, if you set it 5 then 30 to 35 for variable 34 etc. <\/span><\/p>\n<p><i><span style=\"font-weight: 400\">The label<\/span><\/i><span style=\"font-weight: 400\"> gives the variable which is generally represented as x a name. Like if x is representing the age of a person then you can set the label as \u2018age\u2019. <\/span><\/p>\n<p><span style=\"font-weight: 400\">An <\/span><i><span style=\"font-weight: 400\">offset<\/span><\/i><span style=\"font-weight: 400\"> is a number that can be used as an offset or deviation from the default starting point of the classification. The default starting point is normally set at 0. You can specify the value by how much you want to make an offset from the default value like \u00a05,10 etc. <\/span><\/p>\n<p><span style=\"font-weight: 400\"><strong>For example,<\/strong> <\/span><\/p>\n<p><span style=\"font-weight: 400\">We have a list of people with their ages. We want to classify these people based on their age groups, for which we will use the class() function. <\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">LOAD *,\r\nclass(Age, 10, 'age') As Agegroup;\r\nLOAD * INLINE\r\n[ Age, Name\r\n25, John\r\n42, Suzen\r\n53, Mark];<\/pre>\n<p><span style=\"font-weight: 400\">Now, this function will return, <\/span><\/p>\n<table style=\"height: 252px\" width=\"410\">\n<tbody>\n<tr>\n<td><b>Name<\/b><\/td>\n<td><b>Age<\/b><\/td>\n<td><b>Age group<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">John<\/span><\/td>\n<td><span style=\"font-weight: 400\">25<\/span><\/td>\n<td><span style=\"font-weight: 400\">20&lt;= age &lt;30<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Suzen<\/span><\/td>\n<td><span style=\"font-weight: 400\">42<\/span><\/td>\n<td><span style=\"font-weight: 400\">40&lt;= age &lt;50<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Mark<\/span><\/td>\n<td><span style=\"font-weight: 400\">53<\/span><\/td>\n<td><span style=\"font-weight: 400\">50&lt;= age &lt;60<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-weight: 400\">Where age is the label and each person is classified into age groups as defined in the class() function. The expression was Age, the interval was 10 and label was age.<\/span><\/p>\n<h3><span style=\"font-weight: 400\">iii. If Function in Qlik Sense<\/span><\/h3>\n<p><span style=\"font-weight: 400\">The if() function evaluates an expression based on certain condition. If the expression evaluates to be True for that condition, then the \u2018then\u2019 value is return. But if it evaluates to be False then \u2018else\u2019 value is returned.<\/span><\/p>\n<p><strong>The syntax for If Function in Qlik Sense<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">if(condition , then , else)<\/pre>\n<p><span style=\"font-weight: 400\">The condition is the <\/span><i><span style=\"font-weight: 400\">expression<\/span><\/i><span style=\"font-weight: 400\"> which will be evaluated in the logic provided here. <\/span><i><span style=\"font-weight: 400\">Then<\/span><\/i><span style=\"font-weight: 400\"> defines what is to be returned if the condition is true, whereas, <\/span><i><span style=\"font-weight: 400\">else<\/span><\/i><span style=\"font-weight: 400\"> defines what will return if the condition is false. <\/span><\/p>\n<p><strong>For example,<\/strong><\/p>\n<p>If<span style=\"font-weight: 400\">( Batterypercent&gt;=15, \u2018Charged\u2019, \u2018BatteryLow\u2019)<\/span><\/p>\n<p><span style=\"font-weight: 400\">This statement means that if the battery percent is greater than or equal to 15 then return \u2018Charged\u2019 but if it is less than 15 i.e. if the condition is false, then return \u2018BatteryLow\u2019. <\/span><\/p>\n<h3><span style=\"font-weight: 400\">iv. match Function in Qlik Sense<\/span><\/h3>\n<p><span style=\"font-weight: 400\">Match function is used to carry out a case sensitive match. It matches the first expression with the following expressions and returns the number of expression or value that it matches. You can add n number of expressions from which you need to match the first expression.<\/span><\/p>\n<p><strong>The syntax for match function in Qlik Sense<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">match( str, expr1 [ , expr2,...exprN ])<\/pre>\n<p><strong>For example,<\/strong><\/p>\n<p><span style=\"font-weight: 400\">match( M, &#8216;Jan&#8217;,&#8217;Feb&#8217;,&#8217;Mar&#8217;,\u2019Apr\u2019)<\/span><\/p>\n<p><span style=\"font-weight: 400\">This will return 3 if M= Mar because Mar is the third value. And, it will return 0 is M was equals to May which is not in the search result options.<\/span><\/p>\n<h3><span style=\"font-weight: 400\">v. mixmatch Function in Qlik Sense<\/span><\/h3>\n<p><span style=\"font-weight: 400\">This function performs the same operation as the match() function but it is case insensitive i.e. the case of the value or string you are searching for will not matter. If A= Apple or apple the logic will search it. <\/span><\/p>\n<p><span style=\"font-weight: 400\">The syntax for Qlik Sense mixmatch function<\/span><span style=\"font-weight: 400\">:<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">mixmatch( str, expr1 [ , expr2,...exprN ])<\/pre>\n<p><strong>For example,<\/strong><\/p>\n<p><span style=\"font-weight: 400\">if fav= Mango then the expression given below,<\/span><\/p>\n<p><span style=\"font-weight: 400\">mixmatch (fav, \u2018mango\u2019, \u2018apple\u2019, \u2018peach\u2019, \u2018strawberry\u2019)<\/span><\/p>\n<p><span style=\"font-weight: 400\">Will return the value 1 because it matches the value on the first number or position. <\/span><\/p>\n<h3><span style=\"font-weight: 400\">vi. Wildmatch Function in Qlik Sense<\/span><\/h3>\n<p><span style=\"font-weight: 400\">Wildmatch function is also a value matching function like match() and mixmatch() but it uses wildcards (* ?) and is case insensitive in searching. The first expression that we search should match with the following possible search result expressions. If the first expression matches any of the following expressions, then the numeric value of their position in the list is returned.<\/span><\/p>\n<p><strong>The syntax for Qlik Sense Wildmatch Function:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">wildmatch( str, expr1 [ , expr2,...exprN ])<\/pre>\n<p><strong>For example,<\/strong><\/p>\n<p><span style=\"font-weight: 400\">wildmatch( M, &#8216;ja*&#8217;,&#8217;fe?&#8217;,&#8217;mar&#8217;)<\/span><\/p>\n<p><span style=\"font-weight: 400\">It will return 1 of M= January and will also return 2 if M=Feb\/Fex\/Fen or anything. <\/span><\/p>\n<h3><span style=\"font-weight: 400\">vii. pick Function in Qlik Sense<\/span><\/h3>\n<p><span style=\"font-weight: 400\">The pick() function picks a particular value from a specific location in the list of expressions. This function selects and returns the expression present on the n<\/span><span style=\"font-weight: 400\">th <\/span><span style=\"font-weight: 400\">position. <\/span><\/p>\n<p><strong>The syntax for Qlik Sense pick Function:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">pick(n, expr1[ , expr2,...exprN])<\/pre>\n<p><span style=\"font-weight: 400\">Where n is an integer between 1 and n.<\/span><\/p>\n<p><strong>For example,<\/strong><\/p>\n<p><span style=\"font-weight: 400\">pick( 2, &#8216;Sam&#8217;,&#8217;Jones&#8217;, \u2018Nick\u2019, \u2018Joe\u2019 )<\/span><\/p>\n<p><span style=\"font-weight: 400\">This will return the second value i.e. Jones because of n=2.<\/span><\/p>\n<p>So, this was all in Qlik Sense Conditional Functions. Hope you like our explanation.<\/p>\n<h2><span style=\"font-weight: 400\">3. Conclusion &#8211; Conditional Functions in Qlik Sense<\/span><\/h2>\n<p><span style=\"font-weight: 400\">Hence, in this Qlik Sense Conditional Functions tutorial, we discussed conditional Functions in Qlik Sense such as alt, class, if, match etc. Also, we saw syntax and example of each Qlik Sense Conditional Functions. All these Conditional Functions used in the data load script and charts of Qlik Sense.<\/span><\/p>\n<p>Still, if you have any query regarding Qlik Sense Conditional Functions, ask in the comment tab.<\/p>\n<p><a href=\"https:\/\/www.qlik.com\/us\/products\/qlik-sense\"><strong>Reference for Qlik Sense<\/strong><\/a><span hidden class=\"__iawmlf-post-loop-links\" data-iawmlf-links=\"[{&quot;id&quot;:1641,&quot;href&quot;:&quot;https:\\\/\\\/www.qlik.com\\\/us\\\/products\\\/qlik-sense&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20250910054814\\\/https:\\\/\\\/www.qlik.com\\\/us\\\/products\\\/qlik-sense&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-09 14:59:04&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-12 19:36:36&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-16 00:14:49&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-19 05:16:53&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-22 07:28:18&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-25 14:15:00&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-29 02:13:23&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-01 05:49:02&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-04 07:22:12&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-07 08:15:48&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-11 13:51:12&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-14 16:21:34&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-19 02:44:56&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-22 03:03:05&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-25 11:06:55&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-28 12:37:56&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-01 00:15:05&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-04 05:47:54&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-07 12:47:20&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-10 15:45:46&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-13 17:01:17&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-16 17:50:31&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-20 06:42:11&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-23 09:55:01&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-26 10:25:41&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-01 16:39:38&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-05 05:06:15&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-08 11:22:30&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-11 13:38:36&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-14 19:24:16&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-18 01:36:05&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-21 23:13:54&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-25 01:59:39&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-29 13:02:13&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-04-01 13:05:32&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-04 14:23:51&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-07 17:56:15&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-10 21:58:08&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-14 04:26:17&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-17 06:08:44&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-20 07:37:20&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-23 09:28:49&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-27 07:37:07&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-30 08:39:05&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-04 07:49:58&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-07 09:05:20&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-10 12:55:16&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-13 15:31:27&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-17 20:04:48&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-21 03:24:04&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-25 05:12:13&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-28 09:09:10&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-01 06:19:49&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-04 09:38:09&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-07 13:53:53&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-10 23:30:00&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-14 12:40:51&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-17 13:15:26&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-20 15:32:13&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-06-20 15:32:13&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;}]\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Objective Today, we will see Qlik Sense Conditional Functions. Moreover, we will discuss syntax and example of Conditional Functions in Qlik Sense. Conditional functions evaluate an expression based on a specific condition and&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":39430,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17408],"tags":[17540,17541,17538,17542,17544,17539,17543],"class_list":["post-39426","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-qlik-sense-tutorials","tag-alt-functions-in-qlik-sense","tag-class-function-in-qlik-sense","tag-conditional-functions-in-qlik-sense","tag-if-function-in-qlik-sense","tag-pick-function-in-qlik-sense","tag-qlik-sense-conditional-functions","tag-wildmatch-in-qlik-sense"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Qlik Sense Conditional Functions - Syntax and Example - DataFlair<\/title>\n<meta name=\"description\" content=\"Conditional Functions in Qlik Sense,alt function,class function,if function,wildmatch fuction,pick function,mixmatch function,conditional Functions example\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/qlik-sense-conditional-functions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Qlik Sense Conditional Functions - Syntax and Example - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Conditional Functions in Qlik Sense,alt function,class function,if function,wildmatch fuction,pick function,mixmatch function,conditional Functions example\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/qlik-sense-conditional-functions\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-11-06T08:46:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/Qlik-Sense-Conditional-Functions-01.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Qlik Sense Conditional Functions - Syntax and Example - DataFlair","description":"Conditional Functions in Qlik Sense,alt function,class function,if function,wildmatch fuction,pick function,mixmatch function,conditional Functions example","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/qlik-sense-conditional-functions\/","og_locale":"en_US","og_type":"article","og_title":"Qlik Sense Conditional Functions - Syntax and Example - DataFlair","og_description":"Conditional Functions in Qlik Sense,alt function,class function,if function,wildmatch fuction,pick function,mixmatch function,conditional Functions example","og_url":"https:\/\/data-flair.training\/blogs\/qlik-sense-conditional-functions\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2018-11-06T08:46:48+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/Qlik-Sense-Conditional-Functions-01.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/qlik-sense-conditional-functions\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/qlik-sense-conditional-functions\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"Qlik Sense Conditional Functions &#8211; Syntax and Example","datePublished":"2018-11-06T08:46:48+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/qlik-sense-conditional-functions\/"},"wordCount":1219,"commentCount":1,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/qlik-sense-conditional-functions\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/Qlik-Sense-Conditional-Functions-01.jpg","keywords":["alt functions in Qlik Sense","class function in Qlik Sense","Conditional Functions in Qlik Sense","If function in Qlik Sense","pick Function in Qlik Sense","Qlik Sense Conditional Functions","Wildmatch in Qlik Sense"],"articleSection":["Qlik Sense Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/qlik-sense-conditional-functions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/qlik-sense-conditional-functions\/","url":"https:\/\/data-flair.training\/blogs\/qlik-sense-conditional-functions\/","name":"Qlik Sense Conditional Functions - Syntax and Example - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/qlik-sense-conditional-functions\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/qlik-sense-conditional-functions\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/Qlik-Sense-Conditional-Functions-01.jpg","datePublished":"2018-11-06T08:46:48+00:00","description":"Conditional Functions in Qlik Sense,alt function,class function,if function,wildmatch fuction,pick function,mixmatch function,conditional Functions example","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/qlik-sense-conditional-functions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/qlik-sense-conditional-functions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/qlik-sense-conditional-functions\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/Qlik-Sense-Conditional-Functions-01.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/Qlik-Sense-Conditional-Functions-01.jpg","width":1200,"height":628,"caption":"Qlik Sense Conditional Functions - Syntax and Example"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/qlik-sense-conditional-functions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Qlik Sense Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/qlik-sense-tutorials\/"},{"@type":"ListItem","position":3,"name":"Qlik Sense Conditional Functions &#8211; Syntax and Example"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"The DataFlair Team provides industry-driven content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our expert educators focus on delivering value-packed, easy-to-follow resources for tech enthusiasts and professionals.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam2\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/39426","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=39426"}],"version-history":[{"count":2,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/39426\/revisions"}],"predecessor-version":[{"id":39431,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/39426\/revisions\/39431"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/39430"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=39426"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=39426"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=39426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}