<?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: restricting drill down for quartile field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/restricting-drill-down-for-quartile-field/m-p/646849#M474826</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is exactly what I wanted! Thank you! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Aug 2014 19:38:36 GMT</pubDate>
    <dc:creator>kmstephenson</dc:creator>
    <dc:date>2014-08-25T19:38:36Z</dc:date>
    <item>
      <title>restricting drill down for quartile field</title>
      <link>https://community.qlik.com/t5/QlikView/restricting-drill-down-for-quartile-field/m-p/646845#M474822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a simple bar chart in which I want to display hospitalizations per patient year on the y-axis and hcc quartile on the x-axis. I am having difficulty with the dimension for this chart. My input dataset has the field hcc_c_v22_commun (populated with hcc score). This field can be used in a calculated dimension to split hccs into quartiles by using the following code:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;hcc_c_v22_commun&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Fractile&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;hcc_c_v22_commun&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;,.25),1,&lt;BR /&gt; &lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;hcc_c_v22_commun&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Fractile&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;hcc_c_v22_commun&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;,.5),2,&lt;BR /&gt; &lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;hcc_c_v22_commun&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Fractile&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;hcc_c_v22_commun&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;,.75),3,4)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Using this code as the calculated dimension produces the desired results if I do not drill into the chart. However, if I want to select only the population with an hcc quartile of 4, selecting the bar with an hcc quartile of 4 drills down and displays 4 more bars (splits the quartile 4 bar into 4 quartiles). Is there any way to prevent this from happening? When I select any of the four quartile bars (1,2,3, or 4) for any of my other selections, I want only that quartile bar to display- I don't want the quartile bar to continue to be split into 4 quartiles.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 18:04:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/restricting-drill-down-for-quartile-field/m-p/646845#M474822</guid>
      <dc:creator>kmstephenson</dc:creator>
      <dc:date>2014-08-25T18:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: restricting drill down for quartile field</title>
      <link>https://community.qlik.com/t5/QlikView/restricting-drill-down-for-quartile-field/m-p/646846#M474823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it a drill group ? if it is you can calculate it differently depending on the level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can do an if( &lt;SPAN class="Bold"&gt;getcurrentfield ([&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;GroupName]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; = 'level1',&amp;nbsp;&amp;nbsp; &amp;lt;your expression&amp;gt;&amp;nbsp; , &amp;lt;other expression&amp;gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can use getselectedcount and getpossiblecount on the population field to manage the same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 18:37:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/restricting-drill-down-for-quartile-field/m-p/646846#M474823</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-08-25T18:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: restricting drill down for quartile field</title>
      <link>https://community.qlik.com/t5/QlikView/restricting-drill-down-for-quartile-field/m-p/646847#M474824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code I included above is the calculated dimension. I want the quartile to be calculated using the above fractile code only if the hcc_c_v22_commun is not currently selected. If the user selects one of the quartile bars, I do not want that bar to be split into 4 more quartiles. Does this make sense? The problem is that the code I have listed above for the calculated dimension continues to split the hcc scores into quartiles even if I have an hcc quartile already selected. If I select quartile 4, I want only the bar for quartile 4 to appear. Does this code you provided above help solve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 19:21:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/restricting-drill-down-for-quartile-field/m-p/646847#M474824</guid>
      <dc:creator>kmstephenson</dc:creator>
      <dc:date>2014-08-25T19:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: restricting drill down for quartile field</title>
      <link>https://community.qlik.com/t5/QlikView/restricting-drill-down-for-quartile-field/m-p/646848#M474825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok.&amp;nbsp; If you add a SET MODIFIER to exclude the selection on the hcc_c_v22_commun field it will show the full total of the bar you select and hide the rest.&amp;nbsp; See if this alternative calculated dimension expression works as is for you. If not, can you share your qvw ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(hcc_c_v22_commun&amp;lt;=Fractile( {$&amp;lt;hcc_c_v22_commun=&amp;gt;} TOTAL hcc_c_v22_commun,.25),1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(hcc_c_v22_commun&amp;lt;=Fractile( {$&amp;lt;hcc_c_v22_commun=&amp;gt;} TOTAL hcc_c_v22_commun,.5),2,&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(hcc_c_v22_commun&amp;lt;=Fractile( {$&amp;lt;hcc_c_v22_commun=&amp;gt;} TOTAL hcc_c_v22_commun,.75),3,4)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 19:34:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/restricting-drill-down-for-quartile-field/m-p/646848#M474825</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-08-25T19:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: restricting drill down for quartile field</title>
      <link>https://community.qlik.com/t5/QlikView/restricting-drill-down-for-quartile-field/m-p/646849#M474826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is exactly what I wanted! Thank you! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 19:38:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/restricting-drill-down-for-quartile-field/m-p/646849#M474826</guid>
      <dc:creator>kmstephenson</dc:creator>
      <dc:date>2014-08-25T19:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: restricting drill down for quartile field</title>
      <link>https://community.qlik.com/t5/QlikView/restricting-drill-down-for-quartile-field/m-p/646850#M474827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just so that I make sure I'm understanding set analysis and fractile function, if replace {$} with {1} in the above script, I would be splitting the hccs for the total population (not accounting for my selections) into quartiles, and then any time I make a selection, my data will update to what group of patients from the selection fall into each of those originally set quartiles?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 16:00:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/restricting-drill-down-for-quartile-field/m-p/646850#M474827</guid>
      <dc:creator>kmstephenson</dc:creator>
      <dc:date>2014-10-09T16:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: restricting drill down for quartile field</title>
      <link>https://community.qlik.com/t5/QlikView/restricting-drill-down-for-quartile-field/m-p/646851#M474828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I THINK so.. and i think because the answer is 'yes' in theory but i haven't looked at this QVW in a while and unsure if there is anything that would prevent that from not being the case. can't think of anything but its been awhile &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To elaborate.... the&amp;nbsp;&amp;nbsp; {$} will apply the operations on all the records that are &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;within the user's selection state&lt;/STRONG&gt;&lt;/SPAN&gt; whereas {1} will apply the operation on &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;all records in the entire data model regardless of selections&lt;/STRONG&gt;&lt;/SPAN&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SET statment however also had a modifier which disregarded any selection on &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;hcc_c_v22_commun. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; {$&amp;lt;hcc_c_v22_commun=&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;This modifier is completely moot with {1} so you wouldn't need it... every selection is already disregarded.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 16:05:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/restricting-drill-down-for-quartile-field/m-p/646851#M474828</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-10-09T16:05:51Z</dc:date>
    </item>
  </channel>
</rss>

