<?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: Create a Usage Slab in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-a-Usage-Slab/m-p/1301420#M845775</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the contrary. In general, you &lt;STRONG&gt;should &lt;/STRONG&gt;use Aggr() in Calculated Dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Mar 2017 15:54:40 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2017-03-29T15:54:40Z</dc:date>
    <item>
      <title>Create a Usage Slab</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Usage-Slab/m-p/1301416#M845771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calculating Usage% metric in my straight table. The calculation is Num(Sum(Nominal)/(Sum(Nominal)+Sum(Undrawn)),'0%').&lt;/P&gt;&lt;P&gt;This usage is being calculated across many dimensions.&lt;/P&gt;&lt;P&gt;Now I want to create a Usage Slab like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'0%' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'1 – 50%', &lt;/P&gt;&lt;P&gt;'51 – 100%'&lt;/P&gt;&lt;P&gt;and based on a particular slab selection, the data should get filtered.&lt;/P&gt;&lt;P&gt;I tried this in my script using IF, but the problem here is that it is applying the calculation at row level where as my Usage% is an aggregated function calculated in the front end.&lt;/P&gt;&lt;P&gt;I am not sure how to resolve this issue. Any help is highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Usage-Slab/m-p/1301416#M845771</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Usage Slab</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Usage-Slab/m-p/1301417#M845772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post a sample app&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 12:15:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Usage-Slab/m-p/1301417#M845772</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-03-29T12:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Usage Slab</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Usage-Slab/m-p/1301418#M845773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to create the calculated dimension in straight table&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; font-size: 13px;"&gt;&lt;STRONG&gt;Aggr(&lt;/STRONG&gt;if(Sum(Nominal)/(Sum(Nominal)+Sum(Undrawn)) =0,dual('0%',1),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if(Sum(Nominal)/(Sum(Nominal)+Sum(Undrawn)) &amp;gt;0 and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum(Nominal)/(Sum(Nominal)+Sum(Undrawn))&lt;/SPAN&gt;&amp;lt;=0.5,dual('1-50%',2),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(Sum(Nominal)/(Sum(Nominal)+Sum(Undrawn)) &amp;gt;0.5 and&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum(Nominal)/(Sum(Nominal)+Sum(Undrawn))&lt;/SPAN&gt;&amp;lt;=1,dual('51-100%',3)))), &lt;STRONG&gt;dimension1,dimension2, dimension3&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;where &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;dimension1,dimension2, dimension3&lt;/SPAN&gt; are your actual straight table dimension, include all dimension of straight table in &lt;STRONG&gt;Aggr&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Check Suppress when value is null option&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 12:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Usage-Slab/m-p/1301418#M845773</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-03-29T12:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Usage Slab</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Usage-Slab/m-p/1301419#M845774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think we cannot do aggr in calculated dimension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 14:10:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Usage-Slab/m-p/1301419#M845774</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-29T14:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Usage Slab</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Usage-Slab/m-p/1301420#M845775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the contrary. In general, you &lt;STRONG&gt;should &lt;/STRONG&gt;use Aggr() in Calculated Dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 15:54:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Usage-Slab/m-p/1301420#M845775</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-03-29T15:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Usage Slab</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Usage-Slab/m-p/1301421#M845776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use Aggr in calculated dimension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 16:56:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Usage-Slab/m-p/1301421#M845776</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-03-29T16:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Usage Slab</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Usage-Slab/m-p/1301422#M845777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;infact you should always Aggr() on a calculcated dimension, especially when working with Pivots &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 05:55:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Usage-Slab/m-p/1301422#M845777</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-03-30T05:55:30Z</dc:date>
    </item>
  </channel>
</rss>

