<?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: Variable as a Dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Variable-as-a-Dimension/m-p/95866#M6397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sort of but this variable is currently working in the set analysis I have.&amp;nbsp; I am not trying to put this variable into a table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Oct 2018 13:43:34 GMT</pubDate>
    <dc:creator>bbergstrom</dc:creator>
    <dc:date>2018-10-31T13:43:34Z</dc:date>
    <item>
      <title>Variable as a Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-as-a-Dimension/m-p/95859#M6390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In &lt;STRONG style="text-decoration: underline;"&gt;Qlik Sense&lt;/STRONG&gt; I am trying to create a variable, or even a master dimension, that checks to see if the date on the record is between to variable dates.&amp;nbsp; I have tried the following and it is giving me an Invalid dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(FEFTCount=1 AND [Transaction Date]&amp;gt;=$(vDateFrom) AND [Transaction Date]&amp;lt;=$(vDateTo),ExceptVehFuelType)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The [Transaction Date] and two variable fields have the same date format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 13:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-as-a-Dimension/m-p/95859#M6390</guid>
      <dc:creator>bbergstrom</dc:creator>
      <dc:date>2018-10-31T13:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Variable as a Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-as-a-Dimension/m-p/95860#M6391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you define &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vDateFrom and vDateTo variables? Make sure they have equal in front of the variable definitation&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 13:18:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-as-a-Dimension/m-p/95860#M6391</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-31T13:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Variable as a Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-as-a-Dimension/m-p/95861#M6392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doing that broke other visualizations.&amp;nbsp; Here is the definition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(ISNULL(GetFieldSelections([Transaction Month])) AND ISNULL(GetFieldSelections([Transaction Week])),Date(Addmonths(Today(),-20),'MM/DD/YYYY'),DATE(MIN(TranDateTime)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 13:20:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-as-a-Dimension/m-p/95861#M6392</guid>
      <dc:creator>bbergstrom</dc:creator>
      <dc:date>2018-10-31T13:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Variable as a Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-as-a-Dimension/m-p/95862#M6393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be create a new set of variable for this calculated dimension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 13:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-as-a-Dimension/m-p/95862#M6393</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-31T13:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Variable as a Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-as-a-Dimension/m-p/95863#M6394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alternatively, you can create the new variable like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(IsNull(GetFieldSelections([Transaction Month])) and IsNull(GetFieldSelections([Transaction Week])), Addmonths(Today(), -20), Min(TOTAL TranDateTime))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 13:29:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-as-a-Dimension/m-p/95863#M6394</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-31T13:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Variable as a Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-as-a-Dimension/m-p/95864#M6395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So this variable sets a starting date for set analysis.&amp;nbsp; Why would I add TOTAL?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 13:36:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-as-a-Dimension/m-p/95864#M6395</guid>
      <dc:creator>bbergstrom</dc:creator>
      <dc:date>2018-10-31T13:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Variable as a Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-as-a-Dimension/m-p/95865#M6396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A calculated dimension cannot have an aggregation (Like Min, Max, Sum, Avg) without TOTAL (one value across the whole dashboard) or without Aggr() (if you need multiple values based on a single dimension or multiple dimensions. In other words, when you have Min(Date) in your calculated dimension, it take it as null. But if you do Min(TOTAL Date) it gives you the Min date across the whole dashboard based on your selections. =Min(Date) does a similar thing where it evaluate to expression to a single value and then passes the value to the calculated dimension. So, now you don't have Min(Date) going into your calculated dimension, but the actual value (for instance 01/01/2018).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 13:40:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-as-a-Dimension/m-p/95865#M6396</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-31T13:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Variable as a Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-as-a-Dimension/m-p/95866#M6397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sort of but this variable is currently working in the set analysis I have.&amp;nbsp; I am not trying to put this variable into a table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 13:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-as-a-Dimension/m-p/95866#M6397</guid>
      <dc:creator>bbergstrom</dc:creator>
      <dc:date>2018-10-31T13:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Variable as a Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-as-a-Dimension/m-p/95867#M6398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All I am saying is to create a new variable with new expression. Don't make changes to a variable which is already working elsewhere &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. Not sure if this is something you cannot do or not want to do&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 13:49:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-as-a-Dimension/m-p/95867#M6398</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-31T13:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Variable as a Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-as-a-Dimension/m-p/95868#M6399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked after I tweaked some of the other data points, thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 14:39:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-as-a-Dimension/m-p/95868#M6399</guid>
      <dc:creator>bbergstrom</dc:creator>
      <dc:date>2018-10-31T14:39:07Z</dc:date>
    </item>
  </channel>
</rss>

