<?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: Using ONLY Meassure as a Dimension for Filter Panel in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Using-ONLY-Meassure-as-a-Dimension-for-Filter-Panel/m-p/2466805#M99271</link>
    <description>&lt;P&gt;Each aggregation could be used as (calculated) dimension by wrapping them with an appropriate aggr(), like: aggr(Exp, Dim) - but it won't behave like native fields and it couldn't compensate any gaps in the data-model. Therefore it should be rather the worst case approach if no other way is possible or practicably.&lt;/P&gt;
&lt;P&gt;In your case I could imagine that's more suitable to increase the categorizing - n hierarchically dimensions more and/or using also overlapping dimensions - here the idea with an example:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Design/The-As-Of-Table/ba-p/1466130" target="_blank"&gt;The As-Of Table - Qlik Community - 1466130&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jul 2024 10:58:12 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2024-07-01T10:58:12Z</dc:date>
    <item>
      <title>Using ONLY Meassure as a Dimension for Filter Panel</title>
      <link>https://community.qlik.com/t5/App-Development/Using-ONLY-Meassure-as-a-Dimension-for-Filter-Panel/m-p/2466565#M99259</link>
      <description>&lt;P&gt;Hi, i'm working on Qlik Sense Enterprise trying to use my meassure as a dimension.&lt;/P&gt;
&lt;P&gt;I have a products table with the columns CodEAN (Barcode) and Producto (Name).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eliobel_0-1719610358409.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168658i748AE3DB807579EE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Eliobel_0-1719610358409.png" alt="Eliobel_0-1719610358409.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Products have associated fields like "Principio Activo", Concentación and "Forma Médica".&lt;/P&gt;
&lt;P&gt;Right now after i choose one product, i populate another table with the dimensions CodEAN, Producto and "Forma Médica" all the products that share the same Concentación and "Principio Activo" using P() like this&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;SUM({&amp;lt;CodEAN=,ProductoLab=,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CodEAN = P({1&amp;lt;[Principio Activo] = P({&amp;lt;CodEAN = {"$(vCodEANSel)"}&amp;gt;} [Principio Activo]),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;       &amp;nbsp; &amp;nbsp; &amp;nbsp; [Concentración]&amp;nbsp; = P({&amp;lt;CodEAN = {"$(vCodEANSel)"}&amp;gt;} [Concentración])&amp;gt;} CodEAN)&amp;gt;} Venta2024)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;vCodEANSel is a variable with "GetFieldSelections(CodEAN)"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eliobel_1-1719610814032.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168660iACAF731DC9A225CF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Eliobel_1-1719610814032.png" alt="Eliobel_1-1719610814032.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;After the first CodEAN is selected, i'm trying to create a "dinamic filter" that let me choose between all the possibles CodEAN associated with my initial CodEAN with their possible values like so.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;ONLY({&amp;lt;CodEAN=,ProductoLab=,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CodEAN = P({1&amp;lt;[Principio Activo] = P({&amp;lt;CodEAN = {"$(vCodEANSel)"}&amp;gt;} [Principio Activo]),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;       &amp;nbsp; &amp;nbsp; &amp;nbsp; [Concentración]&amp;nbsp; = P({&amp;lt;CodEAN = {"$(vCodEANSel)"}&amp;gt;} [Concentración])&amp;gt;} CodEAN)&amp;gt;} CodEAN)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;If i use that formula as a Meassure it works with my test table showing in the "Asociados" column. So i know my meassure get correctly all the associated CodEAN from my initial selected CodEAN by their possible Concentración and "Principio Activo"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eliobel_2-1719611818409.png" style="width: 222px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168661i9A12FDC8C1E166A0/image-dimensions/222x435?v=v2" width="222" height="435" role="button" title="Eliobel_2-1719611818409.png" alt="Eliobel_2-1719611818409.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;¿Is there a way that my Only() formula that use P() be used as a dimension on a Filter Panel?&lt;/P&gt;
&lt;P&gt;Thanks in advanced&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 23:27:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-ONLY-Meassure-as-a-Dimension-for-Filter-Panel/m-p/2466565#M99259</guid>
      <dc:creator>Eliobel</dc:creator>
      <dc:date>2024-06-28T23:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using ONLY Meassure as a Dimension for Filter Panel</title>
      <link>https://community.qlik.com/t5/App-Development/Using-ONLY-Meassure-as-a-Dimension-for-Filter-Panel/m-p/2466573#M99260</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/69960"&gt;@Eliobel&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I don't think you can do that. However, I have a personal rule that says, "if my expressions are too complex, maybe I can improve my Data Model".&lt;/P&gt;
&lt;P&gt;Can you somehow create this relationship of records in your Data Model, in a way that you can actually have a dimension instead of a measure?&lt;/P&gt;
&lt;P&gt;Have you heard about the &lt;STRONG&gt;Semantic&lt;/STRONG&gt;? This statement may help you on this challenge. There is a nice article about it here:&amp;nbsp;&lt;A href="https://qhic.se/2023/04/12/semantic-links/" target="_blank"&gt;https://qhic.se/2023/04/12/semantic-links/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Mark Costa&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jun 2024 04:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-ONLY-Meassure-as-a-Dimension-for-Filter-Panel/m-p/2466573#M99260</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2024-06-29T04:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using ONLY Meassure as a Dimension for Filter Panel</title>
      <link>https://community.qlik.com/t5/App-Development/Using-ONLY-Meassure-as-a-Dimension-for-Filter-Panel/m-p/2466805#M99271</link>
      <description>&lt;P&gt;Each aggregation could be used as (calculated) dimension by wrapping them with an appropriate aggr(), like: aggr(Exp, Dim) - but it won't behave like native fields and it couldn't compensate any gaps in the data-model. Therefore it should be rather the worst case approach if no other way is possible or practicably.&lt;/P&gt;
&lt;P&gt;In your case I could imagine that's more suitable to increase the categorizing - n hierarchically dimensions more and/or using also overlapping dimensions - here the idea with an example:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Design/The-As-Of-Table/ba-p/1466130" target="_blank"&gt;The As-Of Table - Qlik Community - 1466130&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 10:58:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-ONLY-Meassure-as-a-Dimension-for-Filter-Panel/m-p/2466805#M99271</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-07-01T10:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using ONLY Meassure as a Dimension for Filter Panel</title>
      <link>https://community.qlik.com/t5/App-Development/Using-ONLY-Meassure-as-a-Dimension-for-Filter-Panel/m-p/2466974#M99290</link>
      <description>&lt;P&gt;Hi Mark. I didn't know about semantics and i think i'll use it in the future but sadly this isn't the case. The relations between my data isn't&amp;nbsp;hierarchical like parent/child.&lt;/P&gt;
&lt;P&gt;Right now i'm trying to convince the right people to rearrange the data because honestly i didn't know how to handle the filter as they want it.&lt;/P&gt;
&lt;P&gt;I can make multiples loads of the same table with different fields names to adjust the Data Model as you say but right know i'm limited on server resources.&lt;/P&gt;
&lt;P&gt;Thanks anyway, appreciated the advices.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 20:12:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-ONLY-Meassure-as-a-Dimension-for-Filter-Panel/m-p/2466974#M99290</guid>
      <dc:creator>Eliobel</dc:creator>
      <dc:date>2024-07-01T20:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using ONLY Meassure as a Dimension for Filter Panel</title>
      <link>https://community.qlik.com/t5/App-Development/Using-ONLY-Meassure-as-a-Dimension-for-Filter-Panel/m-p/2466977#M99291</link>
      <description>&lt;P&gt;HiMarcus. My bad, i forgot to say it but yeah, i used AGGR and Master Dimensions in my example but for Qlik it seems like that's not 100% a real dimension and it behave kinda weird.&lt;/P&gt;
&lt;P&gt;i'll see your post and try new stuff with your suggestion and&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22035"&gt;@marksouzacosta&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;Thanks for the advice.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 20:19:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-ONLY-Meassure-as-a-Dimension-for-Filter-Panel/m-p/2466977#M99291</guid>
      <dc:creator>Eliobel</dc:creator>
      <dc:date>2024-07-01T20:19:14Z</dc:date>
    </item>
  </channel>
</rss>

