<?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: Finding Mismatch data in Visualization and Usability</title>
    <link>https://community.qlik.com/t5/Visualization-and-Usability/Finding-Mismatch-data/m-p/1825336#M188773</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/146456"&gt;@Leo_123&lt;/a&gt;&amp;nbsp; I have given you load script logic only. Please refer to my previous reply&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jul 2021 23:19:32 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2021-07-28T23:19:32Z</dc:date>
    <item>
      <title>Finding Mismatch data</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Finding-Mismatch-data/m-p/1824985#M188693</link>
      <description>&lt;P&gt;Hello ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to Qlik sense, I am trying to solve this problem but i am not getting the result i wanted, I have attached the sheet below please check for better understanding &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have imported data from two data sources:&lt;/P&gt;&lt;P&gt;1. DB ,&lt;/P&gt;&lt;P&gt;2.QVD&lt;/P&gt;&lt;P&gt;In DB , I have supplier Information, Business Unit, Division.&lt;/P&gt;&lt;P&gt;In Qvd, I have sales of Suppliers in respective Business Unit and Division.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the DB, the Supplier Business unit and Division should be the one which has highest sales,&lt;/P&gt;&lt;P&gt;For Example, In the attached sheet, For Supplier 1 , the highest sales are in "ES PG G OS" Business Unit,&amp;nbsp; So the final business unit i.e., in ASD should be the same.&lt;/P&gt;&lt;P&gt;And For supplier 3, the highest sales are in Business Unit "ES PG I RP"&amp;nbsp; but the Business unit Displayed for this particular Supplier is "ES PG T OS" , Which is not correct. So we need to find such mismatches or wrongly assigned values also for the division.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to use IF STATEMENT with Max(Sales in Ponds)) it did work but it just&amp;nbsp; said "Exceeded memory limit" , if i am just calculating for three suppliers it is working. I have over 15k suppliers in my DB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if there is any function to compare and just get the mismatches . Please help me with the following&amp;nbsp; Query.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:03:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Finding-Mismatch-data/m-p/1824985#M188693</guid>
      <dc:creator>Leo_123</dc:creator>
      <dc:date>2024-11-16T17:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Mismatch data</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Finding-Mismatch-data/m-p/1824991#M188697</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/146456"&gt;@Leo_123&lt;/a&gt;&amp;nbsp; Do you want to do it in script or front end?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 22:16:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Finding-Mismatch-data/m-p/1824991#M188697</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2021-07-27T22:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Mismatch data</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Finding-Mismatch-data/m-p/1825001#M188700</link>
      <description>Hello ,&lt;BR /&gt;&lt;BR /&gt;I want to do which ever way s the easiest and loads quickly . In chart I tried but it takes a lot of time .&lt;BR /&gt;&lt;BR /&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jul 2021 00:11:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Finding-Mismatch-data/m-p/1825001#M188700</guid>
      <dc:creator>Leo_123</dc:creator>
      <dc:date>2021-07-28T00:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Mismatch data</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Finding-Mismatch-data/m-p/1825020#M188702</link>
      <description>&lt;P&gt;&lt;EM&gt;I am bit confused on the below case , I have highlighted ...here the division is correctly mapped rite but still you have indicated as mis match could you explain on the this ?&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avinashelite_0-1627437753429.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/59277iCAE682E8E5268DDA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="avinashelite_0-1627437753429.png" alt="avinashelite_0-1627437753429.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 02:04:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Finding-Mismatch-data/m-p/1825020#M188702</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2021-07-28T02:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Mismatch data</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Finding-Mismatch-data/m-p/1825045#M188711</link>
      <description>&lt;P&gt;Hello , sorry that is a mistake from my side, I have the correct files now attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;these two are different data sources, In db, we have supplier in one line and in QVD multiple rows for one supplier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 05:41:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Finding-Mismatch-data/m-p/1825045#M188711</guid>
      <dc:creator>Leo_123</dc:creator>
      <dc:date>2021-07-28T05:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Mismatch data</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Finding-Mismatch-data/m-p/1825046#M188712</link>
      <description>&lt;P&gt;****Correct Sample File******&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 05:42:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Finding-Mismatch-data/m-p/1825046#M188712</guid>
      <dc:creator>Leo_123</dc:creator>
      <dc:date>2021-07-28T05:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Mismatch data</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Finding-Mismatch-data/m-p/1825325#M188768</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/146456"&gt;@Leo_123&lt;/a&gt;&amp;nbsp; try below&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;qvd:
LOAD Supplier_ID, 
     [Sales in Ponds], 
     [Bussiness Unit], 
     Division
FROM
[C:\Suppliers.xlsx]
(ooxml, embedded labels, table is qvd);

Left Join(qvd)
LOAD Supplier_ID,
     max([Sales in Ponds]) as max_Sales
Resident qvd
Group by Supplier_ID;

Left Join(qvd)
LOAD Supplier_ID, 
     [Business Unti] as BU_DB, 
     Division as Division_DB
FROM
[C:\Suppliers.xlsx]
(ooxml, embedded labels, table is db);

Left Join(qvd)
LOAD Supplier_ID,
     if(lower(trim(BU_DB))=lower(trim([Bussiness Unit])),'match','mismatch') as match_bu
Resident qvd
where [Sales in Ponds]=max_Sales;

DROP Fields max_Sales,BU_DB,Division_DB;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kushal_Chawda_0-1627508847373.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/59345iC43F59CAD5C7E479/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kushal_Chawda_0-1627508847373.png" alt="Kushal_Chawda_0-1627508847373.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 21:47:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Finding-Mismatch-data/m-p/1825325#M188768</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2021-07-28T21:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Mismatch data</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Finding-Mismatch-data/m-p/1825332#M188770</link>
      <description>&lt;P&gt;Hello Kushal ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would prefer to do it in the load script. As i have already tried to do it in Front end and did not work.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 22:40:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Finding-Mismatch-data/m-p/1825332#M188770</guid>
      <dc:creator>Leo_123</dc:creator>
      <dc:date>2021-07-28T22:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Mismatch data</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Finding-Mismatch-data/m-p/1825336#M188773</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/146456"&gt;@Leo_123&lt;/a&gt;&amp;nbsp; I have given you load script logic only. Please refer to my previous reply&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 23:19:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Finding-Mismatch-data/m-p/1825336#M188773</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2021-07-28T23:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Mismatch data</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Finding-Mismatch-data/m-p/1826299#M188971</link>
      <description>&lt;P&gt;Hello Kushal,&lt;/P&gt;&lt;P&gt;I have tried the above script but it takes so long and it just says " Memory limit exceeded" when I use it, Because there are so many suppliers, Is there another way of Doing it?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the help.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 10:25:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Finding-Mismatch-data/m-p/1826299#M188971</guid>
      <dc:creator>Leo_123</dc:creator>
      <dc:date>2021-08-03T10:25:28Z</dc:date>
    </item>
  </channel>
</rss>

