<?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: Location details in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Location-details/m-p/2156066#M93632</link>
    <description>&lt;P&gt;Using your exact data, and one of the suggestions above, I seem to be getting the desired result...&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Or_0-1703516979143.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/126103iB47E9EAB00269AF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Or_0-1703516979143.png" alt="Or_0-1703516979143.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Load if([City incident]='-' or len(trim([City incident]))=0 ,'Others',[City incident]) as [City incident], IncidentCount INLINE [&lt;BR /&gt;City incident, IncidentCount&lt;BR /&gt;New York , 150&lt;BR /&gt;Los Angeles , 120&lt;BR /&gt;Chicago , 90&lt;BR /&gt;Houston , 80&lt;BR /&gt;Miami , 60&lt;BR /&gt;, 100];&lt;/P&gt;</description>
    <pubDate>Mon, 25 Dec 2023 15:09:52 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2023-12-25T15:09:52Z</dc:date>
    <item>
      <title>Location details</title>
      <link>https://community.qlik.com/t5/App-Development/Location-details/m-p/2155972#M93623</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have data related to sensors and incidents,here the sensor create incidents and based on that sensor we are extracting location details like city, facility.now problem is that some sensors were being deleted by which the incidents created from that sensors becomes null as the location details for that sensors were not available as the base sensor has been deleted. Is there any way to show that incidents as "others" location in addition with the main available location data.&lt;/P&gt;
&lt;P&gt;Sample data:&lt;/P&gt;
&lt;P&gt;City incident count&lt;/P&gt;
&lt;P&gt;Bangalore,150&lt;/P&gt;
&lt;P&gt;Chennai,200&lt;/P&gt;
&lt;P&gt;-,100( this count because of sensor deleted as we don't have location details).&lt;/P&gt;
&lt;P&gt;I need to show that as "Others -100"&lt;/P&gt;
&lt;P&gt;Thanks in advance ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Dec 2023 15:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Location-details/m-p/2155972#M93623</guid>
      <dc:creator>Raju_6952</dc:creator>
      <dc:date>2023-12-24T15:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Location details</title>
      <link>https://community.qlik.com/t5/App-Development/Location-details/m-p/2156003#M93624</link>
      <description>&lt;P&gt;Use Coalesce:-&lt;BR /&gt;Coalesce(City incident,'Others') as "City Incident".&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;It will change every null value in table to 'Others'.&lt;BR /&gt;Also please check if the value is null, blank o '-' before using coalesce.&lt;BR /&gt;If it isnt null please convert it to null.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Dec 2023 04:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Location-details/m-p/2156003#M93624</guid>
      <dc:creator>Gabbar</dc:creator>
      <dc:date>2023-12-25T04:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Location details</title>
      <link>https://community.qlik.com/t5/App-Development/Location-details/m-p/2156056#M93625</link>
      <description>&lt;P&gt;if([&lt;SPAN&gt;City incident]='-' or len(trim([City incident]))=0 ,'Others',[City incident]) as&amp;nbsp;[City incident]&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Dec 2023 13:53:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Location-details/m-p/2156056#M93625</guid>
      <dc:creator>anat</dc:creator>
      <dc:date>2023-12-25T13:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Location details</title>
      <link>https://community.qlik.com/t5/App-Development/Location-details/m-p/2156059#M93626</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;its not working beacuse city filed dont have nulls,if I add city and Incidnet count as measure, then its generating null value for some count, in that case i need to show that as "others".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Dec 2023 14:19:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Location-details/m-p/2156059#M93626</guid>
      <dc:creator>Raju_6952</dc:creator>
      <dc:date>2023-12-25T14:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Location details</title>
      <link>https://community.qlik.com/t5/App-Development/Location-details/m-p/2156061#M93628</link>
      <description>&lt;P&gt;In your original post, you describe City as being null. In your second post, you say is does not have nulls. It may be helpful to better explain your situation and provide an example that matches in order to get answers that will help you solve the issue.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Dec 2023 14:42:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Location-details/m-p/2156061#M93628</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-12-25T14:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Location details</title>
      <link>https://community.qlik.com/t5/App-Development/Location-details/m-p/2156062#M93629</link>
      <description>&lt;P&gt;City | IncidentCount&lt;BR /&gt;-------------|--------------&lt;BR /&gt;New York | 150&lt;BR /&gt;Los Angeles | 120&lt;BR /&gt;Chicago | 90&lt;BR /&gt;Houston | 80&lt;BR /&gt;Miami | 60&lt;/P&gt;
&lt;P&gt;-| 100.&lt;/P&gt;
&lt;P&gt;This is the output when I add city as dimension and count (distinct IncidentID) as measure.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Dec 2023 14:50:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Location-details/m-p/2156062#M93629</guid>
      <dc:creator>Raju_6952</dc:creator>
      <dc:date>2023-12-25T14:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Location details</title>
      <link>https://community.qlik.com/t5/App-Development/Location-details/m-p/2156063#M93630</link>
      <description>&lt;P&gt;There are two suggestions above on how to deal with the nulls in City. It does not appear you've tried them?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Dec 2023 14:52:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Location-details/m-p/2156063#M93630</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-12-25T14:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Location details</title>
      <link>https://community.qlik.com/t5/App-Development/Location-details/m-p/2156064#M93631</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6142"&gt;@Or&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I tried them but no use.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Dec 2023 15:02:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Location-details/m-p/2156064#M93631</guid>
      <dc:creator>Raju_6952</dc:creator>
      <dc:date>2023-12-25T15:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Location details</title>
      <link>https://community.qlik.com/t5/App-Development/Location-details/m-p/2156066#M93632</link>
      <description>&lt;P&gt;Using your exact data, and one of the suggestions above, I seem to be getting the desired result...&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Or_0-1703516979143.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/126103iB47E9EAB00269AF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Or_0-1703516979143.png" alt="Or_0-1703516979143.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Load if([City incident]='-' or len(trim([City incident]))=0 ,'Others',[City incident]) as [City incident], IncidentCount INLINE [&lt;BR /&gt;City incident, IncidentCount&lt;BR /&gt;New York , 150&lt;BR /&gt;Los Angeles , 120&lt;BR /&gt;Chicago , 90&lt;BR /&gt;Houston , 80&lt;BR /&gt;Miami , 60&lt;BR /&gt;, 100];&lt;/P&gt;</description>
      <pubDate>Mon, 25 Dec 2023 15:09:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Location-details/m-p/2156066#M93632</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-12-25T15:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Location details</title>
      <link>https://community.qlik.com/t5/App-Development/Location-details/m-p/2156067#M93633</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6142"&gt;@Or&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for the update,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Will check on my end.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Dec 2023 15:15:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Location-details/m-p/2156067#M93633</guid>
      <dc:creator>Raju_6952</dc:creator>
      <dc:date>2023-12-25T15:15:04Z</dc:date>
    </item>
  </channel>
</rss>

