<?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: conditional coloring to graph based on multiple selection in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/conditional-coloring-to-graph-based-on-multiple-selection/m-p/2493994#M102386</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/319219"&gt;@VaishnaviMogal11&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The issue from the Getfieldselections() function. If you want to get the list of values compatible with Match() function, try this :&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt; if(
match(lat_lon_points, Chr(39) &amp;amp; GetFieldSelections(lat_lon_points, Chr(39) &amp;amp; ',' &amp;amp; Chr(39),1000)),
Green(),Red())&lt;/LI-CODE&gt;
&lt;P&gt;Regards.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2024 15:48:43 GMT</pubDate>
    <dc:creator>sbaro_bd</dc:creator>
    <dc:date>2024-11-21T15:48:43Z</dc:date>
    <item>
      <title>conditional coloring to graph based on multiple selection</title>
      <link>https://community.qlik.com/t5/App-Development/conditional-coloring-to-graph-based-on-multiple-selection/m-p/2493813#M102366</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I need to dynamically color the bar graph based on multiple selection made by user in map view.&lt;/P&gt;
&lt;P&gt;i have created map view with data as lat_lon_point field, and location as latitude= only({1}lat) and longitude =&amp;nbsp;only({1}lon).&lt;/P&gt;
&lt;P&gt;in bar graph added dimension as delta_t_bin field and measure as count({1}distinct charge_session).&lt;/P&gt;
&lt;P&gt;used color expression is:&amp;nbsp;if(&lt;BR /&gt;match(lat_lon_points,GetFieldSelections(lat_lon_points,',',1000)),&lt;BR /&gt;Green(),Red())&lt;/P&gt;
&lt;P&gt;refer below ss to understand the scenario.&lt;/P&gt;
&lt;P&gt;in 1st pic, I have selected single point from map, so the below bar graph is filtering as charge sessions having selected lat_lon_point value is colored as green and remaining are red. it is working fine as required.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VaishnaviMogal11_0-1732169697617.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/174660i81584355F58BEE83/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VaishnaviMogal11_0-1732169697617.png" alt="VaishnaviMogal11_0-1732169697617.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In 2nd pic, user selected multiple points from map(5), but bar graph has not filtered. how can i achieve this?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VaishnaviMogal11_1-1732169733844.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/174661iB8EEEF52426522A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VaishnaviMogal11_1-1732169733844.png" alt="VaishnaviMogal11_1-1732169733844.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please reply to it and share any relevant information if you have, it would be very help&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 08:10:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/conditional-coloring-to-graph-based-on-multiple-selection/m-p/2493813#M102366</guid>
      <dc:creator>VaishnaviMogal11</dc:creator>
      <dc:date>2024-11-21T08:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: conditional coloring to graph based on multiple selection</title>
      <link>https://community.qlik.com/t5/App-Development/conditional-coloring-to-graph-based-on-multiple-selection/m-p/2493994#M102386</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/319219"&gt;@VaishnaviMogal11&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The issue from the Getfieldselections() function. If you want to get the list of values compatible with Match() function, try this :&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt; if(
match(lat_lon_points, Chr(39) &amp;amp; GetFieldSelections(lat_lon_points, Chr(39) &amp;amp; ',' &amp;amp; Chr(39),1000)),
Green(),Red())&lt;/LI-CODE&gt;
&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 15:48:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/conditional-coloring-to-graph-based-on-multiple-selection/m-p/2493994#M102386</guid>
      <dc:creator>sbaro_bd</dc:creator>
      <dc:date>2024-11-21T15:48:43Z</dc:date>
    </item>
  </channel>
</rss>

