<?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: Formula to select specific dimensions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Formula-to-select-specific-dimensions/m-p/73885#M4889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use a search in a set expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( &lt;STRONG&gt;{&amp;lt;RowID={"=(TECH_ID1 Like 'M*') AND Len(KeepChar(Mid(TECH_ID1,2,4),'0123456789'))=4"}&amp;gt;}&lt;/STRONG&gt; [Mechanical Sales] )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the measures have to have the same Set Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this search to work reliably you have to have a row id. You can create one if you dont already have one by using in the LOAD statement this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; RowNo() AS RowID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; .....&lt;/P&gt;&lt;P&gt;&amp;nbsp; .....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Apr 2018 21:08:53 GMT</pubDate>
    <dc:creator>petter</dc:creator>
    <dc:date>2018-04-20T21:08:53Z</dc:date>
    <item>
      <title>Formula to select specific dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-to-select-specific-dimensions/m-p/73884#M4888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for a formula that will automatically segregate the dimension values I need. I shared a screenshot of the below to help explain &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;what I am looking for.&lt;/SPAN&gt;&amp;nbsp; The dimension is the TECH_ID1 field and I am looking to only have those that start &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;with "M" followed by four digits. Like "M0101" (shown below). Since each tech Id has a different set of four unique digits, the only common letter is the M at the prefix. Unfortunately the data set is much bigger than below so it would take some time to select all the right ID's. Is there a way to only select the ID's that start with M?&amp;nbsp;&amp;nbsp; Thanks!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2018-04-20 at 3.40.45 PM.png" class="jive-image image-1" src="/legacyfs/online/200418_Screen Shot 2018-04-20 at 3.40.45 PM.png" style="font-size: 10pt; height: 570px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 19:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-to-select-specific-dimensions/m-p/73884#M4888</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-20T19:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Formula to select specific dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-to-select-specific-dimensions/m-p/73885#M4889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use a search in a set expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( &lt;STRONG&gt;{&amp;lt;RowID={"=(TECH_ID1 Like 'M*') AND Len(KeepChar(Mid(TECH_ID1,2,4),'0123456789'))=4"}&amp;gt;}&lt;/STRONG&gt; [Mechanical Sales] )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the measures have to have the same Set Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this search to work reliably you have to have a row id. You can create one if you dont already have one by using in the LOAD statement this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; RowNo() AS RowID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; .....&lt;/P&gt;&lt;P&gt;&amp;nbsp; .....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 21:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-to-select-specific-dimensions/m-p/73885#M4889</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-04-20T21:08:53Z</dc:date>
    </item>
  </channel>
</rss>

