<?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: Question on loading external data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Question-on-loading-external-data/m-p/1626080#M456339</link>
    <description>&lt;P&gt;It was listed twice to show that there are in general multiple ways to query NULL whereby real NULL's exists only the databases or are the result of certain functions. The most users don't really differ between NULL or empty or spaces or similar values but by querying them it makes differences and therefore my example with: isnull() and alternatively the usually more suitable way of querying the lenght with: len(trim()).&lt;/P&gt;&lt;P&gt;In your case I'm not quite sure what do you really want to check and what should be the result. My suggestion was a single if-loop of: if(condition = true, then, else [optional]) and you may with it querying the value(s) of one/several fields and returning one or the other fieldvalue and/or alternativ strings for the then/else-branch and/or you could nest further if-loops to create a cascade of conditions. Nothing of them is really difficult - you need only from the syntactically point of view to ensure that the above mentioned order of if-then-else with the closing brackets are set.&lt;/P&gt;&lt;P&gt;And it may look like:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if(len(trim([Attending Practitioner Specialty])), '#NV', &lt;/SPAN&gt;[Attending Service Line Name P&amp;amp;L]) as YourField&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;or&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;if(len(trim([Attending Practitioner Specialty])), '#NV',&lt;BR /&gt;&amp;nbsp;&amp;nbsp; if(&lt;/SPAN&gt;[Attending Service Line Name P&amp;amp;L]='Other', [Attending Service Line Name P&amp;amp;L], 'any other value')) as YourField&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Fri, 20 Sep 2019 06:58:00 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2019-09-20T06:58:00Z</dc:date>
    <item>
      <title>Question on loading external data</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-loading-external-data/m-p/1625803#M456334</link>
      <description>&lt;P&gt;I hope this is the correct Location.&lt;/P&gt;&lt;P&gt;I am loading external data into my Qlikview Analytics dashboard.&amp;nbsp; I am loading physician specialties and grouping them into service lines in my external&amp;nbsp;file.&amp;nbsp; There are some blank specialties in my source database that I want to assign to&amp;nbsp; a group named "Other" along with some other specialties.&amp;nbsp; The blank will not group since there is no actual value in the specialty.&amp;nbsp; I tried assigning an XXXX specialty to the practitioners in this group but that will continue to change.&amp;nbsp; Is there a way to assign a NULL value specialty to a group in my excel load file used for this grouping or some setting in Qlikview that will allow me to group a NULL value?&lt;/P&gt;&lt;P&gt;This external data is used in a pivot table and I don't want it to appear separately in the Service line groupings.&amp;nbsp; I need it to roll into "Other".&lt;/P&gt;&lt;P&gt;Example of:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Attending Practitioner Specialty&lt;/TD&gt;&lt;TD&gt;Attending Service Line Name P&amp;amp;L&lt;/TD&gt;&lt;TD&gt;Attending Specialty&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;PAXX PATHOLOGY&lt;/TD&gt;&lt;TD&gt;Other&lt;/TD&gt;&lt;TD&gt;PAXX&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;PAAP PATHOLOGY/ ANATOMIC PATHOLOGY&lt;/TD&gt;&lt;TD&gt;Other&lt;/TD&gt;&lt;TD&gt;PAAP&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;TRANS TRANSITIONAL&lt;/TD&gt;&lt;TD&gt;Other&lt;/TD&gt;&lt;TD&gt;TRANS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;XXXX UNDECLARED&lt;/TD&gt;&lt;TD&gt;Other&lt;/TD&gt;&lt;TD&gt;XXXX&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Other&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:02:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-loading-external-data/m-p/1625803#M456334</guid>
      <dc:creator>elstanford0430</dc:creator>
      <dc:date>2024-11-16T20:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Question on loading external data</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-loading-external-data/m-p/1625856#M456335</link>
      <description>&lt;P&gt;NULL's arent stored in any way and therefore you couldn't group or access them. If you want this you need to assign a real value to them, like:&lt;/P&gt;&lt;P&gt;if(isnull(YourField), 'NULL / blank / empty / #NV', YourField) as YourField&lt;BR /&gt;&amp;nbsp;&amp;nbsp; or&lt;BR /&gt;if(len(trim(YourField)), 'NULL / blank / empty / #NV', YourField) as YourField&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 15:15:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-loading-external-data/m-p/1625856#M456335</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-09-19T15:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Question on loading external data</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-loading-external-data/m-p/1625859#M456336</link>
      <description>&lt;P&gt;Thank you.&amp;nbsp; I am new at this.&amp;nbsp; Where do I need to create this formula?&amp;nbsp; In the load script of somewhere else post load?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 15:19:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-loading-external-data/m-p/1625859#M456336</guid>
      <dc:creator>elstanford0430</dc:creator>
      <dc:date>2019-09-19T15:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Question on loading external data</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-loading-external-data/m-p/1625861#M456337</link>
      <description>&lt;P&gt;Yes, in the load-script directly within your load-statement.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 15:21:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-loading-external-data/m-p/1625861#M456337</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-09-19T15:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Question on loading external data</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-loading-external-data/m-p/1625875#M456338</link>
      <description>&lt;P&gt;I attached my script.&amp;nbsp; I am not sure why "Your field" is listed twice in your directions.&amp;nbsp; I would really appreciate it if you could take a look and let me know&amp;nbsp;how to write this new statement.&lt;/P&gt;&lt;P&gt;Thanks so much in advance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 15:50:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-loading-external-data/m-p/1625875#M456338</guid>
      <dc:creator>elstanford0430</dc:creator>
      <dc:date>2019-09-19T15:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Question on loading external data</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-loading-external-data/m-p/1626080#M456339</link>
      <description>&lt;P&gt;It was listed twice to show that there are in general multiple ways to query NULL whereby real NULL's exists only the databases or are the result of certain functions. The most users don't really differ between NULL or empty or spaces or similar values but by querying them it makes differences and therefore my example with: isnull() and alternatively the usually more suitable way of querying the lenght with: len(trim()).&lt;/P&gt;&lt;P&gt;In your case I'm not quite sure what do you really want to check and what should be the result. My suggestion was a single if-loop of: if(condition = true, then, else [optional]) and you may with it querying the value(s) of one/several fields and returning one or the other fieldvalue and/or alternativ strings for the then/else-branch and/or you could nest further if-loops to create a cascade of conditions. Nothing of them is really difficult - you need only from the syntactically point of view to ensure that the above mentioned order of if-then-else with the closing brackets are set.&lt;/P&gt;&lt;P&gt;And it may look like:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if(len(trim([Attending Practitioner Specialty])), '#NV', &lt;/SPAN&gt;[Attending Service Line Name P&amp;amp;L]) as YourField&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;or&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;if(len(trim([Attending Practitioner Specialty])), '#NV',&lt;BR /&gt;&amp;nbsp;&amp;nbsp; if(&lt;/SPAN&gt;[Attending Service Line Name P&amp;amp;L]='Other', [Attending Service Line Name P&amp;amp;L], 'any other value')) as YourField&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 06:58:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-loading-external-data/m-p/1626080#M456339</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-09-20T06:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Question on loading external data</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-loading-external-data/m-p/1626267#M456340</link>
      <description>&lt;P&gt;Thanks Marcus.&amp;nbsp; Based on your description, did I add the information to the script I attached correctly?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 11:51:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-loading-external-data/m-p/1626267#M456340</guid>
      <dc:creator>elstanford0430</dc:creator>
      <dc:date>2019-09-20T11:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Question on loading external data</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-loading-external-data/m-p/1626272#M456341</link>
      <description>&lt;P&gt;No, it's not correct - therefore my trial to explain logic and syntax and providing some examples which may give you some ideas. Just play a bit with them and adjust them here and there and check the results.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 12:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-loading-external-data/m-p/1626272#M456341</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-09-20T12:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Question on loading external data</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-loading-external-data/m-p/1626278#M456342</link>
      <description>&lt;P&gt;I do not think that I know enough to do that which is why I requested assistance.&amp;nbsp; I have only done basic formulas in Analytics so I will try but without the knowledge I am not sure I know what to do.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 12:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-loading-external-data/m-p/1626278#M456342</guid>
      <dc:creator>elstanford0430</dc:creator>
      <dc:date>2019-09-20T12:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Question on loading external data</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-loading-external-data/m-p/1626296#M456343</link>
      <description>&lt;P&gt;I'm not sure that I'm able to explain it more simply as I did. I can only recommend that you tries the various suggestions - in general you will always need n trials to ensure that your logic fetched all possibilities, is stable and performant and that you understand their logic respectively the differences between various approaches. Nobody could save you for this work.&lt;/P&gt;&lt;P&gt;And quite often this is not difficult and makes even a lot of fun - most helpful for it is often not to do it with the real data else just to create some dummy-data and doing everything step by step - if the single steps work you merge them together and then going foreward with the next steps ... and after that you could transfer it to your real world.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 12:29:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-loading-external-data/m-p/1626296#M456343</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-09-20T12:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Question on loading external data</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-loading-external-data/m-p/1629157#M456344</link>
      <description>&lt;P&gt;I was able to get some more detailed assistance on this issue.&amp;nbsp; The practitioners' specialty was used to assign the service line.&amp;nbsp; The&amp;nbsp;blanks occurred because there were no practitioners on the records at all, not because the specialty was blank.&amp;nbsp; A long script was written for me to populate a specialty in Qlikview where no practitioner exists with "No Pract" and then I was able to assign this description in the external excel table and it worked.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 15:12:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-loading-external-data/m-p/1629157#M456344</guid>
      <dc:creator>elstanford0430</dc:creator>
      <dc:date>2019-09-27T15:12:31Z</dc:date>
    </item>
  </channel>
</rss>

