<?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 formatting working as expression but not as dimension in straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-formatting-working-as-expression-but-not-as-dimension-in/m-p/1757634#M506041</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/128683"&gt;@SailajaPulugurtha&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create one inline table with country n date format and use in the&amp;nbsp; front end.&lt;/P&gt;&lt;P&gt;Load * Inline&lt;BR /&gt;[&lt;BR /&gt;Country, DateFormat1&lt;BR /&gt;US, DD/MM/YYYY&lt;BR /&gt;IND, MM/DD/YYYY&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Front end&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=Date(&lt;SPAN&gt;[transaction date]&lt;/SPAN&gt;, DateFormat1)&lt;/P&gt;</description>
    <pubDate>Mon, 02 Nov 2020 06:35:19 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2020-11-02T06:35:19Z</dc:date>
    <item>
      <title>Date formatting working as expression but not as dimension in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Date-formatting-working-as-expression-but-not-as-dimension-in/m-p/1757610#M506038</link>
      <description>&lt;P&gt;I have a straight table with columns as&amp;nbsp;Employee, country and ten different date type columns. I have taken Employee and country as dimensions and transaction date as calculated dimension as below&lt;/P&gt;&lt;P&gt;if(country='US',Date([transaction date],'MM/DD/YYYY',Date([transaction date],'DD/MM/YYYY')&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is not giving me correct results, but when the same is converted as expression the same is working fine.&lt;/P&gt;&lt;P&gt;But due to the number of expressions, dashboard is taking so much time to load and sometimes getting error as "out of object memory" as there is huge data that is being considered in the straight table&lt;/P&gt;&lt;P&gt;Any suggestions on how to best handle this?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:42:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-formatting-working-as-expression-but-not-as-dimension-in/m-p/1757610#M506038</guid>
      <dc:creator>SailajaPulugurtha</dc:creator>
      <dc:date>2024-11-15T23:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Date formatting working as expression but not as dimension in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Date-formatting-working-as-expression-but-not-as-dimension-in/m-p/1757611#M506039</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/128683"&gt;@SailajaPulugurtha&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can convert date format in the script and use it in the front end.&lt;BR /&gt;But, why you want different date format for each country. If you are using the date in set analysis, how you define the date format in it??&lt;BR /&gt;Or create one field with date format for each country, and use in the expression like below&lt;/P&gt;&lt;P&gt;Load * Inline&lt;BR /&gt;[&lt;BR /&gt;Country, DateFormat1&lt;BR /&gt;US, DD/MM/YYYY&lt;BR /&gt;IND, MM/DD/YYYY&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;=Date(&lt;SPAN&gt;[transaction date]&lt;/SPAN&gt;, DateFormat1)&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 04:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-formatting-working-as-expression-but-not-as-dimension-in/m-p/1757611#M506039</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2020-11-02T04:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Date formatting working as expression but not as dimension in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Date-formatting-working-as-expression-but-not-as-dimension-in/m-p/1757633#M506040</link>
      <description>&lt;P&gt;Thanks for your response. The business requirement is to have multiple date formats for various countries. I am using the below one in the calculated dimension&lt;/P&gt;&lt;P&gt;if(country='US',Date([transaction date],'MM/DD/YYYY',Date([transaction date],'DD/MM/YYYY')&lt;/P&gt;&lt;P&gt;Can you please give example how we can use this is in the set analysis&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 06:27:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-formatting-working-as-expression-but-not-as-dimension-in/m-p/1757633#M506040</guid>
      <dc:creator>SailajaPulugurtha</dc:creator>
      <dc:date>2020-11-02T06:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Date formatting working as expression but not as dimension in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Date-formatting-working-as-expression-but-not-as-dimension-in/m-p/1757634#M506041</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/128683"&gt;@SailajaPulugurtha&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create one inline table with country n date format and use in the&amp;nbsp; front end.&lt;/P&gt;&lt;P&gt;Load * Inline&lt;BR /&gt;[&lt;BR /&gt;Country, DateFormat1&lt;BR /&gt;US, DD/MM/YYYY&lt;BR /&gt;IND, MM/DD/YYYY&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Front end&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=Date(&lt;SPAN&gt;[transaction date]&lt;/SPAN&gt;, DateFormat1)&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 06:35:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-formatting-working-as-expression-but-not-as-dimension-in/m-p/1757634#M506041</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2020-11-02T06:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Date formatting working as expression but not as dimension in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Date-formatting-working-as-expression-but-not-as-dimension-in/m-p/1757640#M506042</link>
      <description>&lt;P&gt;Thanks for your response. I have made the changes accordingly. I am able to see the format correctly but the date refuses to change when the formatted date is used to change the format. Attaching ss for reference&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;inline_table:&lt;BR /&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT size="1" color="#0000ff"&gt;Load&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="1"&gt; * &lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;inline&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[COUNTRY,Dateformat1&lt;BR /&gt;US,'MM/DD/YYYY'&lt;BR /&gt;AU,'DD/MM/YYYY'&lt;BR /&gt;UK,'DD/MM/YYYY'&lt;BR /&gt;]&lt;/FONT&gt;&lt;FONT size="1"&gt;; &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 07:13:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-formatting-working-as-expression-but-not-as-dimension-in/m-p/1757640#M506042</guid>
      <dc:creator>SailajaPulugurtha</dc:creator>
      <dc:date>2020-11-02T07:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Date formatting working as expression but not as dimension in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Date-formatting-working-as-expression-but-not-as-dimension-in/m-p/1757661#M506043</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/128683"&gt;@SailajaPulugurtha&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is no single quotes required.&amp;nbsp;&lt;BR /&gt;Can you please send sample file..&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 08:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-formatting-working-as-expression-but-not-as-dimension-in/m-p/1757661#M506043</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2020-11-02T08:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Date formatting working as expression but not as dimension in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Date-formatting-working-as-expression-but-not-as-dimension-in/m-p/1757667#M506044</link>
      <description>&lt;P&gt;Hi without quotes also not working.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 08:14:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-formatting-working-as-expression-but-not-as-dimension-in/m-p/1757667#M506044</guid>
      <dc:creator>SailajaPulugurtha</dc:creator>
      <dc:date>2020-11-02T08:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Date formatting working as expression but not as dimension in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Date-formatting-working-as-expression-but-not-as-dimension-in/m-p/1757675#M506045</link>
      <description>&lt;P&gt;&lt;EM&gt;Please find the&amp;nbsp; sample.xls file.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 08:24:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-formatting-working-as-expression-but-not-as-dimension-in/m-p/1757675#M506045</guid>
      <dc:creator>SailajaPulugurtha</dc:creator>
      <dc:date>2020-11-02T08:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Date formatting working as expression but not as dimension in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Date-formatting-working-as-expression-but-not-as-dimension-in/m-p/1757692#M506046</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I think you can check if the association has "$ Syn".&lt;BR /&gt;Because your script is not complicated, it should not be slow.&lt;/P&gt;&lt;P&gt;The following is my script,&amp;nbsp;hope it helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Pick(Match(country, 'US', 'AU', 'UK'),&amp;nbsp; Date([transaction date], 'MM/DD/YYYY'), Date([transaction date], 'DD/MM/YYYY'), Date([transaction date], 'DD/MM/YYYY'))&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 08:45:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-formatting-working-as-expression-but-not-as-dimension-in/m-p/1757692#M506046</guid>
      <dc:creator>sunsun566</dc:creator>
      <dc:date>2020-11-02T08:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Date formatting working as expression but not as dimension in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Date-formatting-working-as-expression-but-not-as-dimension-in/m-p/1757716#M506047</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/128683"&gt;@SailajaPulugurtha&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 09:50:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-formatting-working-as-expression-but-not-as-dimension-in/m-p/1757716#M506047</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2020-11-02T09:50:01Z</dc:date>
    </item>
  </channel>
</rss>

