<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: changing exp into a calculated dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/changing-exp-into-a-calculated-dimension/m-p/1067306#M356770</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should provide a sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Feb 2016 16:59:44 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2016-02-19T16:59:44Z</dc:date>
    <item>
      <title>changing exp into a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/changing-exp-into-a-calculated-dimension/m-p/1067299#M356763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a status field as expression&amp;nbsp; in a straight table which contains &lt;/P&gt;&lt;P&gt;=if(CancelledDate&amp;lt;&amp;gt;Null(),'Cancelled'&lt;/P&gt;&lt;P&gt;,if(_TriageDate&amp;lt;&amp;gt;Null(),'Processed'&lt;/P&gt;&lt;P&gt;,if(_Rctp_Date&amp;lt;&amp;gt;Null() ,'Received'&lt;/P&gt;&lt;P&gt;,if(Len(ord.ShipDate)=0,'InStore','Shipped')))) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and my users want to filter that one.&lt;/P&gt;&lt;P&gt;so i changed it to calculated dimension, but after changing to calculated dimension, i find nulls in place of instore. why is this happening &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 20:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/changing-exp-into-a-calculated-dimension/m-p/1067299#M356763</guid>
      <dc:creator>sindhura</dc:creator>
      <dc:date>2016-02-18T20:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: changing exp into a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/changing-exp-into-a-calculated-dimension/m-p/1067300#M356764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand the issue. Do you have a sample you can share?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 21:44:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/changing-exp-into-a-calculated-dimension/m-p/1067300#M356764</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-18T21:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: changing exp into a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/changing-exp-into-a-calculated-dimension/m-p/1067301#M356765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A possible reason might be that you have sometimes more then one unique date-value (maybe several different ship-dates for one order) for your dimension-values and your check contained no aggregation - only field = value. Is there more then one unique value NULL will be returned. This meant you need to apply an aggregation or an error-handler with alt(), maybe:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Len(max(ord.ShipDate)) // required an additional aggr-wrapping within a dimension&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&lt;/P&gt;&lt;P&gt;alt(Len(ord.ShipDate), 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 08:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/changing-exp-into-a-calculated-dimension/m-p/1067301#M356765</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-19T08:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: changing exp into a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/changing-exp-into-a-calculated-dimension/m-p/1067302#M356766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This part of the expression is incorrect. It will always return false (in expression or as a dimension):&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp; &lt;EM&gt;CancelledDate&amp;lt;&amp;gt;Null()&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The correct way to look for nulls is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;IsNull(&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;CancelledDate)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/SPAN&gt;or&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Len(CancelledDate) = 0&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 08:55:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/changing-exp-into-a-calculated-dimension/m-p/1067302#M356766</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-02-19T08:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: changing exp into a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/changing-exp-into-a-calculated-dimension/m-p/1067303#M356767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if(Not IsNull(CancelledDate),'Cancelled'&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Not IsNull(&lt;/SPAN&gt;_TriageDate),'Processed'&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Not IsNull(&lt;/SPAN&gt;_Rctp_Date) ,'Received'&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,if(Len(Trim(ord.ShipDate))=0,'InStore','Shipped'))))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regadrs,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 08:57:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/changing-exp-into-a-calculated-dimension/m-p/1067303#M356767</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-02-19T08:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: changing exp into a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/changing-exp-into-a-calculated-dimension/m-p/1067304#M356768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for responding me. I have with all the ways you people were suggesting but nothing helped out.&lt;/P&gt;&lt;P&gt;I was able to see all the status except the default one i.e "Instore". &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 15:24:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/changing-exp-into-a-calculated-dimension/m-p/1067304#M356768</guid>
      <dc:creator>sindhura</dc:creator>
      <dc:date>2016-02-19T15:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: changing exp into a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/changing-exp-into-a-calculated-dimension/m-p/1067305#M356769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="status.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/115300_status.PNG" style="height: 256px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See in the image I can see Instore in the expression and in the text object but not in Listbox or in calculated Dimension eventhough the expression is same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 15:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/changing-exp-into-a-calculated-dimension/m-p/1067305#M356769</guid>
      <dc:creator>sindhura</dc:creator>
      <dc:date>2016-02-19T15:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: changing exp into a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/changing-exp-into-a-calculated-dimension/m-p/1067306#M356770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should provide a sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 16:59:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/changing-exp-into-a-calculated-dimension/m-p/1067306#M356770</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-19T16:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: changing exp into a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/changing-exp-into-a-calculated-dimension/m-p/1067307#M356771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;Thanks for helping with the possible chances.&lt;/P&gt;&lt;P&gt;I have used flags in the scripting&amp;nbsp; like&lt;/P&gt;&lt;P&gt;if(Len(Trade_ShipDate)&amp;lt;&amp;gt;0,1,0) as _ShippedDateFlag&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(CancelledDate&amp;lt;&amp;gt;Null(),1,0) as _CancelledDateFlag,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(TriageDate&amp;lt;&amp;gt;Null(),1,0) as _ProcessedDateFlag,&lt;/P&gt;&lt;P&gt;if(Rctp_Date&amp;lt;&amp;gt;Null(),1,0) as _ReceivedDateFlag,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and changed the expression as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(_CancelledDateFlag=1,'Cancelled'&lt;/P&gt;&lt;P&gt;,if(_ProcessedDateFlag=1,'Processed'&lt;/P&gt;&lt;P&gt;,if(_ReceivedDateFlag=1 ,'Received'&lt;/P&gt;&lt;P&gt;,if(_ShippedDateFlag=1,'Shipped'&lt;/P&gt;&lt;P&gt; ,'InStore')))) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally it worked.&lt;/P&gt;&lt;P&gt;Thanks for the response and keep Helping:):)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 21:31:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/changing-exp-into-a-calculated-dimension/m-p/1067307#M356771</guid>
      <dc:creator>sindhura</dc:creator>
      <dc:date>2016-02-19T21:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: changing exp into a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/changing-exp-into-a-calculated-dimension/m-p/1067308#M356772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you got the Answer please close this thread by giving Correct and Helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 01:25:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/changing-exp-into-a-calculated-dimension/m-p/1067308#M356772</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-02-22T01:25:17Z</dc:date>
    </item>
  </channel>
</rss>

