<?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: Cycle group dimension in Sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Cycle-group-dimension-in-Sense/m-p/1748160#M57516</link>
    <description>&lt;P&gt;I have simplified the variable vDim, used for the dimension to be defined simply as:&amp;nbsp; &amp;nbsp;only(DimName)&lt;/P&gt;&lt;P&gt;I am seeing that when using this as the expression for a dimension dimension in a chart,&amp;nbsp; =[$(vDim)]&amp;nbsp; gives an error in the expression editor of :&amp;nbsp; "Error in Expression"&amp;nbsp; =[only(DimName)]&lt;/P&gt;&lt;P&gt;So, in summary it does not appear to work to base a dimension on an expression that is based on text strings sourced from an inline table&amp;nbsp; where the source strings match the dimension names.&amp;nbsp; I have no clue how anyone got the example used in the article to actually work.&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 15:22:35 GMT</pubDate>
    <dc:creator>dadumas</dc:creator>
    <dc:date>2020-09-29T15:22:35Z</dc:date>
    <item>
      <title>Cycle group dimension in Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Cycle-group-dimension-in-Sense/m-p/1747853#M57496</link>
      <description>&lt;P&gt;I read a great article to achieve a cycle dimension in Sense, but cannot get it to work.&amp;nbsp; Fails when referencing the calculated dimension expression in a chart.&lt;/P&gt;&lt;P&gt;I have an inline table in my model:&lt;/P&gt;&lt;P&gt;AdHocDimensions:&lt;/P&gt;&lt;P&gt;Dim,DimSort&lt;/P&gt;&lt;P&gt;Region,1&lt;/P&gt;&lt;P&gt;Sales Person,2&lt;/P&gt;&lt;P&gt;etc...&lt;/P&gt;&lt;P&gt;works great, tests fine&lt;/P&gt;&lt;P&gt;I then create 2 variables:&lt;/P&gt;&lt;P&gt;vMinDimSort, defined as:&amp;nbsp; min(DimSort)&amp;nbsp; &amp;nbsp;This displays fine&lt;/P&gt;&lt;P&gt;vDim, defined as : minstring({&amp;lt;DimSort={"$(=$(vMinDimSort))"}&amp;gt;} Dim)&amp;nbsp; &amp;nbsp; thiis works, but only when defined using a search string with the double quotes syntax.&lt;/P&gt;&lt;P&gt;The article says to code vDim simply as : minstring({&amp;lt;DimSort={$(vMinDimSort)}&amp;gt;} Dim)&amp;nbsp; &amp;nbsp; but his gives a "set modifier error"&amp;nbsp; .&amp;nbsp; I have even put single quotes around $(vMinDimSort), but same error.&lt;/P&gt;&lt;P&gt;When I define vDim without the error, I can display $(vDim) as a measure in a textbox, so that that works fine, Example:&amp;nbsp; Region displays as expected in a textbox.&lt;/P&gt;&lt;P&gt;Then in my chart, I use =[$(vDim)] as a calculated dimension&lt;/P&gt;&lt;P&gt;Does not work, gives a set analysis error.&amp;nbsp; I would expect that if the textbox works with this variable, then the dimension reference with that same variable should work.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:02:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cycle-group-dimension-in-Sense/m-p/1747853#M57496</guid>
      <dc:creator>dadumas</dc:creator>
      <dc:date>2024-11-16T18:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle group dimension in Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Cycle-group-dimension-in-Sense/m-p/1748160#M57516</link>
      <description>&lt;P&gt;I have simplified the variable vDim, used for the dimension to be defined simply as:&amp;nbsp; &amp;nbsp;only(DimName)&lt;/P&gt;&lt;P&gt;I am seeing that when using this as the expression for a dimension dimension in a chart,&amp;nbsp; =[$(vDim)]&amp;nbsp; gives an error in the expression editor of :&amp;nbsp; "Error in Expression"&amp;nbsp; =[only(DimName)]&lt;/P&gt;&lt;P&gt;So, in summary it does not appear to work to base a dimension on an expression that is based on text strings sourced from an inline table&amp;nbsp; where the source strings match the dimension names.&amp;nbsp; I have no clue how anyone got the example used in the article to actually work.&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:22:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cycle-group-dimension-in-Sense/m-p/1748160#M57516</guid>
      <dc:creator>dadumas</dc:creator>
      <dc:date>2020-09-29T15:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle group dimension in Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Cycle-group-dimension-in-Sense/m-p/1748163#M57517</link>
      <description>&lt;P&gt;I got this to work.&amp;nbsp; You have to reference the dimension expression in the chart as :&amp;nbsp;&amp;nbsp;=[$(=$(vDim))]&lt;/P&gt;&lt;P&gt;So, in summary, to create a cycle group dimension in qlik sense:&lt;/P&gt;&lt;P&gt;vDim should be defined as :&amp;nbsp; &amp;nbsp; minstring({&amp;lt;DimSort={"$(=$(vMinDimSort))"}&amp;gt;} DimName)&lt;/P&gt;&lt;P&gt;The label for the dimension should be defined as:&amp;nbsp; &amp;nbsp;='$(=$(vDim))'&lt;/P&gt;&lt;P&gt;5 hours to figure this out &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cycle-group-dimension-in-Sense/m-p/1748163#M57517</guid>
      <dc:creator>dadumas</dc:creator>
      <dc:date>2020-09-29T15:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cycle group dimension in Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Cycle-group-dimension-in-Sense/m-p/1748170#M57518</link>
      <description>&lt;P&gt;vDim is now defined correctly as:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;minstring({&amp;lt;DimSort={"$(=$(vMinDimSort))"}&amp;gt;} DimName)&lt;/P&gt;&lt;P&gt;And this is how you have to reference the label of the Dimension:&amp;nbsp;&amp;nbsp;='$(=$(vDim))'&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:42:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cycle-group-dimension-in-Sense/m-p/1748170#M57518</guid>
      <dc:creator>dadumas</dc:creator>
      <dc:date>2020-09-29T15:42:05Z</dc:date>
    </item>
  </channel>
</rss>

