<?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 Qlik sense set-analysis on chart dimentsion in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-sense-set-analysis-on-chart-dimentsion/m-p/1653041#M48770</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I'm trying to show reports vs time for an operation and compare it with a target. The target can't be measured normally on on the coating operation operation. Instead I want to have the target as a function of OrderQTY and CarrierQTY.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The expression looks like this:&lt;/P&gt;&lt;DIV&gt;Sum({$&amp;lt;$(CoatingOperations)&amp;gt;}[Target]) /&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;( sum({$&amp;lt;FlagLast90Days={'1'},$(CoatingOperations))&amp;gt;}[OrderQTY])/&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum({$&amp;lt;FlagLast90Days={'1'},$(CoatingOperations))&amp;gt;}CARRIERQTY)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;and&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;sum({$&amp;lt;FlagLast90Days={'1'},$(CoatingOperations))&amp;gt;}[OrderQTY])/&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum({$&amp;lt;FlagLast90Days={'1'},$(CoatingOperations))&amp;gt;}CARRIERQTY)&amp;nbsp;&lt;/STRONG&gt; should evaluate to a constant value of e.g. 250 based in the last 90 days.&lt;/P&gt;&lt;P&gt;What we will have is then&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;$(CoatingOperations)&amp;gt;}[Target]) / 250&lt;/P&gt;&lt;P&gt;Seems straight forward? But in a bar graph which has Target vs date. It doesn't get a constant value. It's evaluated for every single date. How can I define a value that is evaluated for certain selections before it's evaluated in the graph?&lt;/P&gt;&lt;P&gt;The target should change for every date, but orderQTY/CarrierQTY should be a constant evaluated for the last 90 days.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried to include Date=, so the latter part should ignore the dimension. But that means I can't make any date selections anymore, which is relevant to see the target for different date. How can I calculate a constant in the front end and use it in visualisations?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;sum({$&amp;lt;FlagLast90Days={'1'},Date=, $(CoatingOperations))&amp;gt;}[OrderQTY])/&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum({$&amp;lt;FlagLast90Days={'1'},Date=, $(CoatingOperations))&amp;gt;}CARRIERQTY)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks for replies&lt;/P&gt;&lt;P&gt;Edvard&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Sat, 16 Nov 2024 19:33:00 GMT</pubDate>
    <dc:creator>edwi0012</dc:creator>
    <dc:date>2024-11-16T19:33:00Z</dc:date>
    <item>
      <title>Qlik sense set-analysis on chart dimentsion</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-set-analysis-on-chart-dimentsion/m-p/1653041#M48770</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I'm trying to show reports vs time for an operation and compare it with a target. The target can't be measured normally on on the coating operation operation. Instead I want to have the target as a function of OrderQTY and CarrierQTY.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The expression looks like this:&lt;/P&gt;&lt;DIV&gt;Sum({$&amp;lt;$(CoatingOperations)&amp;gt;}[Target]) /&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;( sum({$&amp;lt;FlagLast90Days={'1'},$(CoatingOperations))&amp;gt;}[OrderQTY])/&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum({$&amp;lt;FlagLast90Days={'1'},$(CoatingOperations))&amp;gt;}CARRIERQTY)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;and&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;sum({$&amp;lt;FlagLast90Days={'1'},$(CoatingOperations))&amp;gt;}[OrderQTY])/&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum({$&amp;lt;FlagLast90Days={'1'},$(CoatingOperations))&amp;gt;}CARRIERQTY)&amp;nbsp;&lt;/STRONG&gt; should evaluate to a constant value of e.g. 250 based in the last 90 days.&lt;/P&gt;&lt;P&gt;What we will have is then&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;$(CoatingOperations)&amp;gt;}[Target]) / 250&lt;/P&gt;&lt;P&gt;Seems straight forward? But in a bar graph which has Target vs date. It doesn't get a constant value. It's evaluated for every single date. How can I define a value that is evaluated for certain selections before it's evaluated in the graph?&lt;/P&gt;&lt;P&gt;The target should change for every date, but orderQTY/CarrierQTY should be a constant evaluated for the last 90 days.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried to include Date=, so the latter part should ignore the dimension. But that means I can't make any date selections anymore, which is relevant to see the target for different date. How can I calculate a constant in the front end and use it in visualisations?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;sum({$&amp;lt;FlagLast90Days={'1'},Date=, $(CoatingOperations))&amp;gt;}[OrderQTY])/&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum({$&amp;lt;FlagLast90Days={'1'},Date=, $(CoatingOperations))&amp;gt;}CARRIERQTY)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks for replies&lt;/P&gt;&lt;P&gt;Edvard&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:33:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-set-analysis-on-chart-dimentsion/m-p/1653041#M48770</guid>
      <dc:creator>edwi0012</dc:creator>
      <dc:date>2024-11-16T19:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense set-analysis on chart dimentsion</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-set-analysis-on-chart-dimentsion/m-p/1653049#M48771</link>
      <description>&lt;P&gt;May be try this way&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;sum({&lt;FONT color="#ff0000"&gt;1&lt;/FONT&gt;&amp;lt;FlagLast90Days={'1'},Date=, $(CoatingOperations))&amp;gt;}[OrderQTY])/&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum({&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&amp;lt;FlagLast90Days={'1'},Date=, $(CoatingOperations))&amp;gt;}CARRIERQTY)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;If(GetSelectedCount(Date)&amp;gt;0, &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&lt;FONT color="#ff0000"&gt;1&lt;/FONT&gt;&amp;lt;FlagLast90Days={'1'},&lt;STRIKE&gt;Date=,&lt;/STRIKE&gt; $(CoatingOperations))&amp;gt;}[OrderQTY])/&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum({&lt;STRONG&gt;&lt;FONT color="#005500"&gt;&lt;FONT color="#ff0000"&gt;1&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&amp;lt;FlagLast90Days={'1'},&lt;STRIKE&gt;Date=,&lt;/STRIKE&gt; $(CoatingOperations))&amp;gt;}CARRIERQTY)&lt;/STRONG&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&lt;FONT color="#005500"&gt;$&lt;/FONT&gt;&amp;lt;FlagLast90Days={'1'},Date=, $(CoatingOperations))&amp;gt;}[OrderQTY])/&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum({&lt;STRONG&gt;&lt;FONT color="#005500"&gt;$&lt;/FONT&gt;&lt;/STRONG&gt;&amp;lt;FlagLast90Days={'1'},Date=, $(CoatingOperations))&amp;gt;}CARRIERQTY)&lt;/STRONG&gt;&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 11:20:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-set-analysis-on-chart-dimentsion/m-p/1653049#M48771</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-12-02T11:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense set-analysis on chart dimentsion</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-set-analysis-on-chart-dimentsion/m-p/1653084#M48776</link>
      <description>&lt;P&gt;It will still count the KPI (Target/(orderQTY/CarrierQTY) different for each single day of the week. I know and have checked that the target is constant during most weeks, it changes between weeks and some individual days of the year.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to calculate a sum(OrderQTY)/sum(CarrierQTY) variable that should be based on the last 90 days. Then divide the daily target with that constant numerical value and be able to do date selections. But the OrderQTY and CarrierQTY will change depending on the date selections and if I exclude the date selections it won't be agile and in a bargraph it will still do the calculations based on date, even if it's excluded in set analysis since it's a dimension.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 12:16:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-set-analysis-on-chart-dimentsion/m-p/1653084#M48776</guid>
      <dc:creator>edwi0012</dc:creator>
      <dc:date>2019-12-02T12:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense set-analysis on chart dimentsion</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-set-analysis-on-chart-dimentsion/m-p/1653121#M48782</link>
      <description>&lt;P&gt;What is the "&lt;SPAN&gt;CoatingOperations&lt;/SPAN&gt;"?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 13:05:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-set-analysis-on-chart-dimentsion/m-p/1653121#M48782</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-12-02T13:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense set-analysis on chart dimentsion</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-set-analysis-on-chart-dimentsion/m-p/1653189#M48789</link>
      <description>&lt;P&gt;It's a visualisation for a production and especially target exists for multiple operations, but specifically the coatingoperation measures vs their OrderQTY/CarrierQTY. basically, that's inhouse specific selection.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 15:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-set-analysis-on-chart-dimentsion/m-p/1653189#M48789</guid>
      <dc:creator>edwi0012</dc:creator>
      <dc:date>2019-12-02T15:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense set-analysis on chart dimentsion</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-set-analysis-on-chart-dimentsion/m-p/1653244#M48794</link>
      <description>&lt;P&gt;How did you define the variable?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 16:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-set-analysis-on-chart-dimentsion/m-p/1653244#M48794</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-12-02T16:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense set-analysis on chart dimentsion</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-set-analysis-on-chart-dimentsion/m-p/1653412#M48816</link>
      <description>&lt;P&gt;That vairable is unfortunatlely not the issue, it's just a setanalysis for selection specific operations. I'm using it and similar on many places elsewhere in the visualizations, therefore I put it in a variable instead, to be able to change at one place instead of many.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if I could do that to the latter part it would solve the problem. when I make a variable of sum(OrderQTY)/sum(CarrierQTY) with all the set analysis for selections. When I use it, the variable expansion put's in the code in the function and evaluating there, which interfere with my dimensions and selections.&lt;/P&gt;&lt;P&gt;vL.factor =&amp;nbsp;sum(OrderQTY)/sum(CarrierQTY) = e.g. 250&lt;/P&gt;&lt;P&gt;How it is:&lt;/P&gt;&lt;P&gt;f(x) = Target/$(vL.factor) = Target / sum(OrderQTY)/sum(CarrierQTY)&amp;nbsp;&lt;/P&gt;&lt;P&gt;How I need it, because of the set analysis inside vL.factor&lt;BR /&gt;f(x) = Target /$(vL.factor) = Target / 250&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it more clear now what I'm searching for? Is this possible in anyway?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 06:16:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-set-analysis-on-chart-dimentsion/m-p/1653412#M48816</guid>
      <dc:creator>edwi0012</dc:creator>
      <dc:date>2019-12-03T06:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense set-analysis on chart dimentsion</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-set-analysis-on-chart-dimentsion/m-p/1653414#M48817</link>
      <description>&lt;P&gt;Override the dimensions with TOTAL:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({$&amp;lt;FlagLast90Days={'1'},$(CoatingOperations))&amp;gt;} &lt;STRONG&gt;TOTAL&lt;/STRONG&gt; OrderQTY)/&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum({$&amp;lt;FlagLast90Days={'1'},$(CoatingOperations))&amp;gt;} &lt;STRONG&gt;TOTAL&lt;/STRONG&gt; CARRIERQTY)&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 06:30:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-set-analysis-on-chart-dimentsion/m-p/1653414#M48817</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-12-03T06:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense set-analysis on chart dimentsion</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-set-analysis-on-chart-dimentsion/m-p/1653458#M48820</link>
      <description>&lt;P&gt;Thanks! This seems to be giving the correct result! Have to read up more on how that keyword works &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Edvard&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 08:15:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-set-analysis-on-chart-dimentsion/m-p/1653458#M48820</guid>
      <dc:creator>edwi0012</dc:creator>
      <dc:date>2019-12-03T08:15:50Z</dc:date>
    </item>
  </channel>
</rss>

