<?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: Measure as Dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Measure-as-Dimension/m-p/1802372#M65093</link>
    <description>&lt;P&gt;Apart from the good explanation from&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;, take into account that if you pretend Qlik Sense to select the output values&amp;nbsp;corresponding to your expression, and calculate all the associative model that corresponds to those Yes/No values (to show the whites and greys), Qlik Sense would have to make reverse engineering of your expression (ifs, set analysis, filters, etc.). Qlik Sense is smart, but not that smart&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;.&lt;/P&gt;&lt;P&gt;JG&lt;/P&gt;</description>
    <pubDate>Sat, 24 Apr 2021 12:33:53 GMT</pubDate>
    <dc:creator>JuanGerardo</dc:creator>
    <dc:date>2021-04-24T12:33:53Z</dc:date>
    <item>
      <title>Measure as Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Measure-as-Dimension/m-p/1801714#M65016</link>
      <description>&lt;P&gt;Hello Qlik Experts,&lt;/P&gt;&lt;P&gt;I have a question how to display a measure as a dimension in the frontend.&lt;/P&gt;&lt;P&gt;So far I transformed my measure:&lt;/P&gt;&lt;P&gt;IF(((Sum({1&amp;lt;[type]={"sale"},[datum]={"&amp;gt;=$(=date(today()-30,'YYYY-MM-DD'))"},[kanal]=$::[kanal],[monat]=$::[monat],[marke_total]=$::[marke_total],[iid]=$::[iid]&amp;gt;}[menge])/30)&amp;gt;'0,14' or&lt;BR /&gt;(Sum({1&amp;lt;[type]={"sale"},[datum]={"&amp;gt;=$(=date(today()-7,'YYYY-MM-DD'))"},[kanal]=$::[kanal],[monat]=$::[monat],[marke_total]=$::[marke_total],[iid]=$::[iid]&amp;gt;}[menge])/7)&amp;gt;'0,14')&lt;BR /&gt;and&lt;/P&gt;&lt;P&gt;IF(&lt;BR /&gt;(((Sum({1&amp;lt;[type]={"sale"},[datum]={"&amp;gt;=$(=date(today()-7,'YYYY-MM-DD'))"},[kanal]=$::[kanal],[monat]=$::[monat],[marke_total]=$::[marke_total],[iid]=$::[iid]&amp;gt;}[menge])/7) &amp;gt;&lt;BR /&gt;(Sum({1&amp;lt;[type]={"sale"},[datum]={"&amp;gt;=$(=date(today()-30,'YYYY-MM-DD'))"},[kanal]=$::[kanal],[monat]=$::[monat],[marke_total]=$::[marke_total],[iid]=$::[iid]&amp;gt;}[menge])/30)) and&lt;BR /&gt;(Sum({1&amp;lt;[type]={"sale"},[datum]={"&amp;gt;=$(=date(today()-7,'YYYY-MM-DD'))"},[kanal]=$::[kanal],[monat]=$::[monat],[marke_total]=$::[marke_total],[iid]=$::[iid]&amp;gt;}[menge])/7)&amp;gt;'0,28'),&lt;BR /&gt;&lt;BR /&gt;(Sum(quantityAvailableOms)/&lt;BR /&gt;(Sum({1&amp;lt;[type]={"sale"},[datum]={"&amp;gt;=$(=date(today()-7,'YYYY-MM-DD'))"},[kanal]=$::[kanal],[monat]=$::[monat],[marke_total]=$::[marke_total],[iid]=$::[iid]&amp;gt;}[menge])/7)) &amp;lt; $(v_Tage),&lt;BR /&gt;(Sum(quantityAvailableOms)/&lt;BR /&gt;(Sum({1&amp;lt;[type]={"sale"},[datum]={"&amp;gt;=$(=date(today()-30,'YYYY-MM-DD'))"},[kanal]=$::[kanal],[monat]=$::[monat],[marke_total]=$::[marke_total],[iid]=$::[iid]&amp;gt;}[menge])/30)) &amp;lt; $(v_Tage))&lt;BR /&gt;&lt;BR /&gt;and&lt;/P&gt;&lt;P&gt;Sum({1&amp;lt;[kanal]=$::[kanal],[monat]=$::[monat],[marke_total]=$::[marke_total],[iid]=$::[iid]&amp;gt;}[marge_GMO])&amp;gt;'0'&lt;BR /&gt;&lt;BR /&gt;and&lt;/P&gt;&lt;P&gt;Sum({1&amp;lt;[datum]={"&amp;gt;=$(=date(today()-60,'YYYY-MM-DD'))"},[kanal]=$::[kanal],[monat]=$::[monat],[marke_total]=$::[marke_total],[iid]=$::[iid]&amp;gt;}[marge_GMO])&amp;gt;'0',&lt;/P&gt;&lt;P&gt;'Yes','No')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to&amp;nbsp;&lt;/P&gt;&lt;P&gt;aggr(Measure,&amp;nbsp;&amp;nbsp;,Marke, iid, size, Saison) or simple aggr(Measure, Dim1, Dim2, ...)&lt;/P&gt;&lt;P&gt;so it transformed my measure to a dimension&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SonPhan_0-1619091789680.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53454i717481FD381D4E5D/image-size/large?v=v2&amp;amp;px=999" role="button" title="SonPhan_0-1619091789680.png" alt="SonPhan_0-1619091789680.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but when I want to set a filter, such as 'NO' in the figure, it still finds me values with Yes. Can someone explain me this phenomenon?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards Phan&lt;/P&gt;&lt;P&gt;'Measure #Dimension # Frontend developement&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 11:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measure-as-Dimension/m-p/1801714#M65016</guid>
      <dc:creator>SonPhan</dc:creator>
      <dc:date>2021-04-22T11:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Measure as Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Measure-as-Dimension/m-p/1802354#M65089</link>
      <description>&lt;P&gt;Hi, this happens because selections can only be done on loaded values of fields, you don't select 'yes' or 'no' in a particular field, you select values in the fields used in the conditional dimension. As you can see in the selection bar there are four fields selected.&lt;/P&gt;&lt;P&gt;So maybe you have a matrix like:&lt;/P&gt;&lt;P&gt;Field1 Field2 Result&lt;BR /&gt;A B Yes&lt;BR /&gt;B A Yes&lt;BR /&gt;B B No&lt;BR /&gt;Selecting 'Yes' will select values of the first 2 rows, this is: values A and B on the Field1 and values B and A in field 2, this selections matches the selections needed to show row 3 so it keeps selected&lt;/P&gt;&lt;P&gt;If you need a filter row by it will better if you try to pass this logic to the script, so each row alrady has a yes/No value where you can filter or look for a way where uniqueidentifiers are selected.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Apr 2021 07:50:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measure-as-Dimension/m-p/1802354#M65089</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-04-24T07:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Measure as Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Measure-as-Dimension/m-p/1802372#M65093</link>
      <description>&lt;P&gt;Apart from the good explanation from&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;, take into account that if you pretend Qlik Sense to select the output values&amp;nbsp;corresponding to your expression, and calculate all the associative model that corresponds to those Yes/No values (to show the whites and greys), Qlik Sense would have to make reverse engineering of your expression (ifs, set analysis, filters, etc.). Qlik Sense is smart, but not that smart&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;.&lt;/P&gt;&lt;P&gt;JG&lt;/P&gt;</description>
      <pubDate>Sat, 24 Apr 2021 12:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measure-as-Dimension/m-p/1802372#M65093</guid>
      <dc:creator>JuanGerardo</dc:creator>
      <dc:date>2021-04-24T12:33:53Z</dc:date>
    </item>
  </channel>
</rss>

