<?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 Show last 3 months data using Calculated Dimension in Qlik Sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Show-last-3-months-data-using-Calculated-Dimension-in-Qlik-Sense/m-p/1607059#M45012</link>
    <description>&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;I have a basic requirement to show last 3 months of the data (ie., May, June, July -2019)&lt;BR /&gt;So I've used the caluculated dimention in my Straight table which is&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;=If((MonthName(PDATE)) &amp;gt;= AddMonths(Max(TOTAL (MonthName(PDATE))), -3), (MonthName(PDATE)))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the resulting table gives me total 4 months including current month August Data as well. All I'm interested to see only last 3 months excluding current month&lt;/P&gt;&lt;P&gt;can you please correct/amend me the above calculated dimension&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my data model i have only a Date field (PDATE),do not have Month field in Master Calendar&lt;/P&gt;&lt;P&gt;appreciate your help on this&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 05:08:21 GMT</pubDate>
    <dc:creator>datashaw</dc:creator>
    <dc:date>2024-11-16T05:08:21Z</dc:date>
    <item>
      <title>Show last 3 months data using Calculated Dimension in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Show-last-3-months-data-using-Calculated-Dimension-in-Qlik-Sense/m-p/1607059#M45012</link>
      <description>&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;I have a basic requirement to show last 3 months of the data (ie., May, June, July -2019)&lt;BR /&gt;So I've used the caluculated dimention in my Straight table which is&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;=If((MonthName(PDATE)) &amp;gt;= AddMonths(Max(TOTAL (MonthName(PDATE))), -3), (MonthName(PDATE)))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the resulting table gives me total 4 months including current month August Data as well. All I'm interested to see only last 3 months excluding current month&lt;/P&gt;&lt;P&gt;can you please correct/amend me the above calculated dimension&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my data model i have only a Date field (PDATE),do not have Month field in Master Calendar&lt;/P&gt;&lt;P&gt;appreciate your help on this&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:08:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-last-3-months-data-using-Calculated-Dimension-in-Qlik-Sense/m-p/1607059#M45012</guid>
      <dc:creator>datashaw</dc:creator>
      <dc:date>2024-11-16T05:08:21Z</dc:date>
    </item>
  </channel>
</rss>

