<?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: Change color by expression for a scatter plot bubbles? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Change-color-by-expression-for-a-scatter-plot-bubbles/m-p/1418188#M33552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will be difficult to reach a solution without an image or a sample that can give a tip on how is your data model and what's happening.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-16454"&gt;Uploading a Sample&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which values shows the table and which values you expected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Nov 2017 09:03:47 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2017-11-07T09:03:47Z</dc:date>
    <item>
      <title>Change color by expression for a scatter plot bubbles?</title>
      <link>https://community.qlik.com/t5/App-Development/Change-color-by-expression-for-a-scatter-plot-bubbles/m-p/1418181#M33545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to change the color of my scatter plot bubbles based on their fractile(based on sales). I am using the following pece of code in expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ([Total Sale Quantity]&amp;lt;=Fractile(total [Total Sale Quantity],0.20), Red(),&lt;/P&gt;&lt;P&gt;if ([Total Sale Quantity]&amp;lt;=Fractile(total [Total Sale Quantity],0.40), Blue(),&lt;/P&gt;&lt;P&gt;if ([Total Sale Quantity]&amp;lt;=Fractile(total [Total Sale Quantity],0.60), Green(),&lt;/P&gt;&lt;P&gt;if ([Total Sale Quantity]&amp;lt;=Fractile(total [Total Sale Quantity],0.80), Yellow(),&lt;/P&gt;&lt;P&gt;LightRed()))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, it is giving me lightRed fr all the bubbles. Please guide me where I am going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 03:29:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-color-by-expression-for-a-scatter-plot-bubbles/m-p/1418181#M33545</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-24T03:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Change color by expression for a scatter plot bubbles?</title>
      <link>https://community.qlik.com/t5/App-Development/Change-color-by-expression-for-a-scatter-plot-bubbles/m-p/1418182#M33546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Condition seems ok, Can you make it in sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Nov 2017 03:33:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-color-by-expression-for-a-scatter-plot-bubbles/m-p/1418182#M33546</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-05T03:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Change color by expression for a scatter plot bubbles?</title>
      <link>https://community.qlik.com/t5/App-Development/Change-color-by-expression-for-a-scatter-plot-bubbles/m-p/1418183#M33547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul, the first part of the comparison is only sales, not the fractile, maybe you are looking for?:&lt;/P&gt;&lt;P&gt;if (Fractile([Total Sale Quantity],0.2)&amp;lt;=Fractile(total [Total Sale Quantity],0.20), Red(),&lt;/P&gt;&lt;P&gt;if (Fractile([Total Sale Quantity],0.40)&amp;lt;=Fractile(total [Total Sale Quantity],0.40), Blue(),&lt;/P&gt;&lt;P&gt;if (Fractile([Total Sale Quantity],0.60)&amp;lt;=Fractile(total [Total Sale Quantity],0.60), Green(),&lt;/P&gt;&lt;P&gt;if (Fractile([Total Sale Quantity],0.80)&amp;lt;=Fractile(total [Total Sale Quantity],0.80), Yellow(),&lt;/P&gt;&lt;P&gt;LightRed()))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or there is more than one value for total Sale and needs to be aggregated, ie:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;if (Sum([Total Sale Quantity])&amp;lt;=Fractile(total [Total Sale Quantity],0.20), Red(),&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;if (&lt;SPAN style="font-size: 13.3333px;"&gt;Sum&lt;/SPAN&gt;([Total Sale Quantity])&amp;lt;=Fractile(total [Total Sale Quantity],0.40), Blue(),&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;if (&lt;SPAN style="font-size: 13.3333px;"&gt;Sum&lt;/SPAN&gt;([Total Sale Quantity])&amp;lt;=Fractile(total [Total Sale Quantity],0.60), Green(),&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;if (&lt;SPAN style="font-size: 13.3333px;"&gt;Sum&lt;/SPAN&gt;([Total Sale Quantity])&amp;lt;=Fractile(total [Total Sale Quantity],0.80), Yellow(),&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LightRed()))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Nov 2017 12:12:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-color-by-expression-for-a-scatter-plot-bubbles/m-p/1418183#M33547</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2017-11-05T12:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Change color by expression for a scatter plot bubbles?</title>
      <link>https://community.qlik.com/t5/App-Development/Change-color-by-expression-for-a-scatter-plot-bubbles/m-p/1418184#M33548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, my aim is to color the bubbles based on the sales. If the sales are in the 20 percentile then red and so on. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 07:51:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-color-by-expression-for-a-scatter-plot-bubbles/m-p/1418184#M33548</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-07T07:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Change color by expression for a scatter plot bubbles?</title>
      <link>https://community.qlik.com/t5/App-Development/Change-color-by-expression-for-a-scatter-plot-bubbles/m-p/1418185#M33549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I did not understand your point. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 07:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-color-by-expression-for-a-scatter-plot-bubbles/m-p/1418185#M33549</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-07T07:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Change color by expression for a scatter plot bubbles?</title>
      <link>https://community.qlik.com/t5/App-Development/Change-color-by-expression-for-a-scatter-plot-bubbles/m-p/1418186#M33550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But each dot has only one value for &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[Total Sale Quantity]? Ie, if there is a value for each month and you select only a year there will be 12 different values for each dot (one for each month) and you need to do some aggregation to return only one value for each dot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&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; font-size: 13.3333px;"&gt;You can copy the chart and transform it to a table, make different expressions with each part of the expression to check the values:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Dimensions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;- The current dimensions of the bubble chart&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Expressions:&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;[Total Sale Quantity]&lt;/SPAN&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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Fractile(total [Total Sale Quantity],0.20)&lt;/SPAN&gt;&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;Fractile(total [Total Sale Quantity],0.40)&lt;/SPAN&gt;&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;BR /&gt;&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;This table shows the values you expected?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 08:27:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-color-by-expression-for-a-scatter-plot-bubbles/m-p/1418186#M33550</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2017-11-07T08:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Change color by expression for a scatter plot bubbles?</title>
      <link>https://community.qlik.com/t5/App-Development/Change-color-by-expression-for-a-scatter-plot-bubbles/m-p/1418187#M33551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, actually the table is also not showing the correct values. It is also showing me the last condition. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 08:59:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-color-by-expression-for-a-scatter-plot-bubbles/m-p/1418187#M33551</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-07T08:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Change color by expression for a scatter plot bubbles?</title>
      <link>https://community.qlik.com/t5/App-Development/Change-color-by-expression-for-a-scatter-plot-bubbles/m-p/1418188#M33552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will be difficult to reach a solution without an image or a sample that can give a tip on how is your data model and what's happening.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-16454"&gt;Uploading a Sample&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which values shows the table and which values you expected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 09:03:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-color-by-expression-for-a-scatter-plot-bubbles/m-p/1418188#M33552</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2017-11-07T09:03:47Z</dc:date>
    </item>
  </channel>
</rss>

