<?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: Transaction Vs Reporting Dates in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Transaction-Vs-Reporting-Dates/m-p/922334#M12716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Touche &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have a localization If statement already so getting that way.&amp;nbsp; Might give this approach a whirl.&amp;nbsp; Thanks for your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Annie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Aug 2015 10:13:02 GMT</pubDate>
    <dc:creator>ogster1974</dc:creator>
    <dc:date>2015-08-13T10:13:02Z</dc:date>
    <item>
      <title>Transaction Vs Reporting Dates</title>
      <link>https://community.qlik.com/t5/App-Development/Transaction-Vs-Reporting-Dates/m-p/922330#M12712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to get a solution to work where I offer the users the choice of viewing their data from 2 separate time point of views.&amp;nbsp; The measures stay the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transactional:&amp;nbsp; The date the action took place (hangs off my fact table)&lt;/P&gt;&lt;P&gt;Reporting: The date the action should be reported in (hangs off my dimension tables)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have separate calendars to handle the different views wired into a master calendar.&amp;nbsp; The issue comes when I want to use date as a dimension.&amp;nbsp; If I use Reporting Calendar or Transaction Calender as the dimension it works fine but what I want to do is flip this based on a user selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried using the Master Calender as a dimension and making the measure link to it but its not working.&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;[%YYYYMM]&lt;/P&gt;&lt;P&gt;Measure&lt;/P&gt;&lt;P&gt;If(vReportingPeriod='T',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COUNT(DISTINCT{&amp;lt;ActionType={'CLAIMCLAIMED'}, &lt;SPAN style="color: #ff0000;"&gt;[%TrnYYYYMM]&lt;/SPAN&gt;=p([%YYYYMM])&amp;gt;} [%ClaimKey])&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COUNT(DISTINCT{&amp;lt;ActionType={'CLAIMCLAIMED'}, &lt;SPAN style="color: #ff0000;"&gt;[%ClaimYYYYMM]&lt;/SPAN&gt;=p([%YYYYMM])&amp;gt;} [%ClaimKey])&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use as Dimension&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;[%TrnYYYYMM]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;[%ClaimYYYYMM]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;They work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In QlikView I would probably create separate charts and overlay them allowing the show/hide on the setting of the variable but I cannot find such a solution of Sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas? I guess i'm looking for a way to make my dimension setting dynamic or a way to hard wire the measure to a data island.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 08:54:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Transaction-Vs-Reporting-Dates/m-p/922330#M12712</guid>
      <dc:creator>ogster1974</dc:creator>
      <dc:date>2015-08-13T08:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction Vs Reporting Dates</title>
      <link>https://community.qlik.com/t5/App-Development/Transaction-Vs-Reporting-Dates/m-p/922331#M12713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; If I use Reporting Calendar or Transaction Calender as the dimension it works fine but what I want to do is flip this based on a user selection.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;In essence you want to let the user choose which calendar to use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, there's an extension called &lt;A href="http://branch.qlik.com/projects/showthread.php?396-qsVariable&amp;amp;highlight=qsvariable"&gt;qsVariable&lt;/A&gt; avaible. You can use that to create a variable and a set of values for the variable. You can display these values as buttons. And use the variable in a calculated dimension in your chart. Something like =pick(match(vCalendar, 'Transaction', 'Claims'), [%TrnYYYYMM],[%ClaimYYYYMM])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 09:35:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Transaction-Vs-Reporting-Dates/m-p/922331#M12713</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-08-13T09:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction Vs Reporting Dates</title>
      <link>https://community.qlik.com/t5/App-Development/Transaction-Vs-Reporting-Dates/m-p/922332#M12714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gus. I'm already using that to set variables in my dashboard.&amp;nbsp; Working nicely to set the vReportingPeriod.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can swap the measure based on Transaction or claims and works a treat for bar guages but my charts use the calendar as a dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see where my issue is now.&amp;nbsp; I'm building my calendar dimension as a Master Item as I made it a drill down from quarter to month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use Master items in this way you cannot reference in an expressions yet.&amp;nbsp; I guess I have to decide which is the best feature to have drill down to month from quarter or being able to switch reporting views.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a follow on question would you us pick(match..... of If(..... they seem to do the same thing.&amp;nbsp; Is it a question performance as to which method to use?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 09:53:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Transaction-Vs-Reporting-Dates/m-p/922332#M12714</guid>
      <dc:creator>ogster1974</dc:creator>
      <dc:date>2015-08-13T09:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction Vs Reporting Dates</title>
      <link>https://community.qlik.com/t5/App-Development/Transaction-Vs-Reporting-Dates/m-p/922333#M12715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome Annie. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A pick-match combination will perform better than deeply nested if's. With if statements every branch is always evaluated. You won't see any difference with only a few simple nested if statements, but with a lot of nested if's performance can bog down. A pick-match could improve things in such situations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 09:58:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Transaction-Vs-Reporting-Dates/m-p/922333#M12715</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-08-13T09:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction Vs Reporting Dates</title>
      <link>https://community.qlik.com/t5/App-Development/Transaction-Vs-Reporting-Dates/m-p/922334#M12716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Touche &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have a localization If statement already so getting that way.&amp;nbsp; Might give this approach a whirl.&amp;nbsp; Thanks for your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Annie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 10:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Transaction-Vs-Reporting-Dates/m-p/922334#M12716</guid>
      <dc:creator>ogster1974</dc:creator>
      <dc:date>2015-08-13T10:13:02Z</dc:date>
    </item>
  </channel>
</rss>

