<?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: Tracking distribution changes in a dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Tracking-distribution-changes-in-a-dimension/m-p/628553#M230854</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Connor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you told taht you know condition to show some value in red color when you calculate this KPI in chart with some dimension.&lt;/P&gt;&lt;P&gt;I understand, that if any point in your dimension is red, you would like to show that dimension name.&lt;/P&gt;&lt;P&gt;You may do this using expression like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(sum(aggr( if( [your red condition],1),City))&amp;gt;0,'City')&amp;amp;','&amp;amp;if(sum(aggr( if( [your red condition],1),Gender))&amp;gt;0,'Gender'),.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 May 2014 15:35:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-10T15:35:05Z</dc:date>
    <item>
      <title>Tracking distribution changes in a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Tracking-distribution-changes-in-a-dimension/m-p/628550#M230851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I work for an insurance company and I'm looking to do some work which will track changes in the distribution of our a business. So for example are we writing more business in certain areas compared to last month, are we writing more business with women etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is some sample data,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;City&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;% of Total 2012 Sales&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;% of Total 2013 Sales&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;% Change in Distribution&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;London&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50%&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;40%&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-20%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Paris&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30%&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30%&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Rome&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20%&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30%&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;50%&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could put an alerter on the Final column to go Red when its above 30%, or something like that. This is all fine and I can make this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For my actual data, I would want to create a cyclic group where "City" currently is, to show 50+ different dimensions, or possibly 50 different tables with a different dimension in each.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is this. How do I effectively alert the user to where one of the distributions has changed by a significant amount, without getting them to look at every table, or cycle through every table. If I have 100 tables it isn't feasible to expect the user to look at them all.&amp;nbsp; So I&amp;nbsp; want something that would indicate that certain dimensions are important to look at before the user has actually looked through the tables, so they don't need to search themselves.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want an end result similar to this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="74" style="border: 1px solid #000000; width: 245px; height: 66px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Important Distribution Changes&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Age, Gender, City&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would point the user to look at the Age, Gender and City tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 May 2014 11:20:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tracking-distribution-changes-in-a-dimension/m-p/628550#M230851</guid>
      <dc:creator />
      <dc:date>2014-05-10T11:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking distribution changes in a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Tracking-distribution-changes-in-a-dimension/m-p/628551#M230852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Connor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using aggr() you may do calculation of some expression for some dimension.&lt;/P&gt;&lt;P&gt;Next you may aggregate it with for example max or min to show or to check some condition, etc.&lt;/P&gt;&lt;P&gt;This is useful if you want to do it regarding user selection (look for example). But if you have big data volumes it may be slow.&lt;/P&gt;&lt;P&gt;You may also calculate it during reload, but it will be independend from user selections then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 May 2014 13:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tracking-distribution-changes-in-a-dimension/m-p/628551#M230852</guid>
      <dc:creator />
      <dc:date>2014-05-10T13:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking distribution changes in a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Tracking-distribution-changes-in-a-dimension/m-p/628552#M230853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Darek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the Reply! I only have personal edition at home so cant access your file, sorry &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;. I have used the Aggr() function a lot and consider it to be incredibly useful, but i don't see how it helps me here. Can you give me the example of the formula you used?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get that I can use Aggr() in my formulas, but how can I alert people to specific dimensions where the distribution has changed? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help you can provide,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 May 2014 13:59:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tracking-distribution-changes-in-a-dimension/m-p/628552#M230853</guid>
      <dc:creator />
      <dc:date>2014-05-10T13:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking distribution changes in a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Tracking-distribution-changes-in-a-dimension/m-p/628553#M230854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Connor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you told taht you know condition to show some value in red color when you calculate this KPI in chart with some dimension.&lt;/P&gt;&lt;P&gt;I understand, that if any point in your dimension is red, you would like to show that dimension name.&lt;/P&gt;&lt;P&gt;You may do this using expression like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(sum(aggr( if( [your red condition],1),City))&amp;gt;0,'City')&amp;amp;','&amp;amp;if(sum(aggr( if( [your red condition],1),Gender))&amp;gt;0,'Gender'),.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 May 2014 15:35:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tracking-distribution-changes-in-a-dimension/m-p/628553#M230854</guid>
      <dc:creator />
      <dc:date>2014-05-10T15:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking distribution changes in a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Tracking-distribution-changes-in-a-dimension/m-p/628554#M230855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Darek, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That works a treat!! Just put the expression in a text box and it works great. Going to be annoying to make a new expression for each aggregation but oh well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Darek!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 May 2014 17:31:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tracking-distribution-changes-in-a-dimension/m-p/628554#M230855</guid>
      <dc:creator />
      <dc:date>2014-05-10T17:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Tracking distribution changes in a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Tracking-distribution-changes-in-a-dimension/m-p/628555#M230856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can prepare expression in kiss script by concatenation&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;P&gt;10-05-2014 19:31 użytkownik "Connor Sugden" &amp;lt;qcwebmaster@qlik.com&amp;gt;&lt;/P&gt;&lt;P&gt;napisał:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;      Qlik Community &amp;lt;http://community.qlik.com/&amp;gt;   Tracking distribution&lt;/P&gt;&lt;P&gt;changes in a dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Connor Sugden&amp;lt;http://community.qlik.com/people/Connor.Sugden92?et=watches.email.thread&amp;gt;in *App&lt;/P&gt;&lt;P&gt;Development* - View the full discussion&amp;lt;http://community.qlik.com/message/525909?et=watches.email.thread#525909&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 May 2014 17:35:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tracking-distribution-changes-in-a-dimension/m-p/628555#M230856</guid>
      <dc:creator />
      <dc:date>2014-05-10T17:35:31Z</dc:date>
    </item>
  </channel>
</rss>

