<?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: Date &amp; Text Issue on Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Text-Issue-on-Pivot-Table/m-p/1391444#M423035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am new to qlikview and this community,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question about your reply concerning the Pivot table date and text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the answer you provided to Kozan Fahri, does the word Field refer to the col name or field from the date? And what would xyz be representing?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;debra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Oct 2017 13:41:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-10-20T13:41:53Z</dc:date>
    <item>
      <title>Date &amp; Text Issue on Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Text-Issue-on-Pivot-Table/m-p/1391439#M423030</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;I have the following underlying table&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="124" style="border: 1px solid rgb(0, 0, 0); border-image: none; width: 104px; height: 126px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Type A&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Dec-17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Mar-18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;TBC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Issue Raised&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I put this in QlikView, it looks like:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="124" style="border: 1px solid #000000; border-image: none; width: 104px; height: 126px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="padding: 2px; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;Type A&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;43070&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;43160&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;TBC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Issue Raised&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the following formula to get the date in "MMM-YY" format; &lt;SPAN style="font-size: 10pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;Date&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Type A]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,'MMM-YY') .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;But it will then get rid of my Text. Which again is not what I am looking to achieve. Please also note, the Text may vary and change over time, so a nested IF function such &lt;/SPAN&gt;as, &lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Type A]&lt;/SPAN&gt;&lt;SPAN&gt;=TBC,'TBC',(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Type A]&lt;/SPAN&gt;&lt;SPAN&gt;,'MMM-YY'))) , is not ideal.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Any suggestions please.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Many Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 15:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Text-Issue-on-Pivot-Table/m-p/1391439#M423030</guid>
      <dc:creator>kfahri342</dc:creator>
      <dc:date>2017-08-11T15:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Date &amp; Text Issue on Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Text-Issue-on-Pivot-Table/m-p/1391440#M423031</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 this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While loading the data load in text only. Like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load Text(Field) as Field&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From xyz;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 15:59:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Text-Issue-on-Pivot-Table/m-p/1391440#M423031</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2017-08-11T15:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Date &amp; Text Issue on Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Text-Issue-on-Pivot-Table/m-p/1391441#M423032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestion. But I ideally want to keep them in date format. As I sort these dates from earliest to latest. If I change these into dates, they will be ordered alphabetically. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 16:02:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Text-Issue-on-Pivot-Table/m-p/1391441#M423032</guid>
      <dc:creator>kfahri342</dc:creator>
      <dc:date>2017-08-11T16:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Date &amp; Text Issue on Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Text-Issue-on-Pivot-Table/m-p/1391442#M423033</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;Then you can try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load If(Isnum(Field),Date(Field,'MMM-YY'),Field) as Field&lt;/P&gt;&lt;P&gt;From xyz;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 16:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Text-Issue-on-Pivot-Table/m-p/1391442#M423033</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2017-08-11T16:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Date &amp; Text Issue on Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Text-Issue-on-Pivot-Table/m-p/1391443#M423034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works perfectly. Thank You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 16:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Text-Issue-on-Pivot-Table/m-p/1391443#M423034</guid>
      <dc:creator>kfahri342</dc:creator>
      <dc:date>2017-08-11T16:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Date &amp; Text Issue on Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Text-Issue-on-Pivot-Table/m-p/1391444#M423035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am new to qlikview and this community,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question about your reply concerning the Pivot table date and text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the answer you provided to Kozan Fahri, does the word Field refer to the col name or field from the date? And what would xyz be representing?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;debra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 13:41:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Text-Issue-on-Pivot-Table/m-p/1391444#M423035</guid>
      <dc:creator />
      <dc:date>2017-10-20T13:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Date &amp; Text Issue on Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Text-Issue-on-Pivot-Table/m-p/1391445#M423036</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;Yes the Field is the Column name from the table. And XYZ is the table from which this field belongs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The given is the code for the scripting, but you can use the below code as calculated dimension in your pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #edf8ca;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #edf8ca;"&gt; If(Isnum(Field),Date(Field,'MMM-YY'),Field)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 05:27:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Text-Issue-on-Pivot-Table/m-p/1391445#M423036</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2017-10-23T05:27:53Z</dc:date>
    </item>
  </channel>
</rss>

