<?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 to solve duplicate medical codes problem in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Question-to-solve-duplicate-medical-codes-problem/m-p/1679669#M63773</link>
    <description>&lt;P&gt;I think this is the right solution:&lt;BR /&gt;Use this as the measure ..Sum(AGGR(If(Count({&amp;lt;Product={A}&amp;gt;}Product)&amp;gt;1,Count(Distinct City)), City))&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="314d1dcc7f0c4b0c964ddffbda92ea07.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29156i596BC97AE2867455/image-size/large?v=v2&amp;amp;px=999" role="button" title="314d1dcc7f0c4b0c964ddffbda92ea07.png" alt="314d1dcc7f0c4b0c964ddffbda92ea07.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Feb 2020 23:49:42 GMT</pubDate>
    <dc:creator>Lisa_P</dc:creator>
    <dc:date>2020-02-26T23:49:42Z</dc:date>
    <item>
      <title>Question to solve duplicate medical codes problem</title>
      <link>https://community.qlik.com/t5/App-Development/Question-to-solve-duplicate-medical-codes-problem/m-p/1679176#M63769</link>
      <description>&lt;P&gt;I have a database of medical codes that I need to check when certain codes were applied twice per patient, or twice per appointment, where they were only supposed to be once per app.&lt;/P&gt;&lt;P&gt;I want to add charts and tables to a dashboard to show that, but I want to do it on the frontend .&lt;/P&gt;&lt;P&gt;I am looking for help with the formula I can use for this kind of data structure&amp;nbsp;&lt;/P&gt;&lt;P&gt;To make it easy for all, I change it to products sold in countries and cities. but it is the same idea.&lt;/P&gt;&lt;P&gt;Please help ...&amp;nbsp;&lt;/P&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="Screen Shot 2020-02-25 at 12.49.34 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29085i643CF0A3C5DE752C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-02-25 at 12.49.34 PM.png" alt="Screen Shot 2020-02-25 at 12.49.34 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.google.com/spreadsheets/d/1V0gh_eYOA9wJvelIXKOA4JEJourj3fCESnbDNZs4tJ8/edit?usp=sharing" target="_blank"&gt;https://docs.google.com/spreadsheets/d/1V0gh_eYOA9wJvelIXKOA4JEJourj3fCESnbDNZs4tJ8/edit?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;email me sivanvigder@gmail.com&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>Fri, 02 Apr 2021 08:20:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Question-to-solve-duplicate-medical-codes-problem/m-p/1679176#M63769</guid>
      <dc:creator>SivanVigder</dc:creator>
      <dc:date>2021-04-02T08:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Question to solve duplicate medical codes problem</title>
      <link>https://community.qlik.com/t5/App-Development/Question-to-solve-duplicate-medical-codes-problem/m-p/1679305#M63770</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Here is the qvf. Hope this is what you want.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 07:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Question-to-solve-duplicate-medical-codes-problem/m-p/1679305#M63770</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2020-02-26T07:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Question to solve duplicate medical codes problem</title>
      <link>https://community.qlik.com/t5/App-Development/Question-to-solve-duplicate-medical-codes-problem/m-p/1679425#M63771</link>
      <description>&lt;P&gt;Thank you so much&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there a chance you wrote the formulas&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using qlik sense remotely and don’t know how to load qvf files there .&lt;/P&gt;&lt;P&gt;i simply create dashboard and use formulas in the front end .&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;thabks again, and I hope you can help&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 12:00:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Question-to-solve-duplicate-medical-codes-problem/m-p/1679425#M63771</guid>
      <dc:creator>SivanVigder</dc:creator>
      <dc:date>2020-02-26T12:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Question to solve duplicate medical codes problem</title>
      <link>https://community.qlik.com/t5/App-Development/Question-to-solve-duplicate-medical-codes-problem/m-p/1679429#M63772</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this expression in your Table and Bar chart&lt;/P&gt;&lt;P&gt;COUNT({&amp;lt;Product = {$(=CONCAT(DISTINCT Product,',',Product))}&amp;gt;}[Transaction#])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let us know if it helps.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 12:19:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Question-to-solve-duplicate-medical-codes-problem/m-p/1679429#M63772</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2020-02-26T12:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Question to solve duplicate medical codes problem</title>
      <link>https://community.qlik.com/t5/App-Development/Question-to-solve-duplicate-medical-codes-problem/m-p/1679669#M63773</link>
      <description>&lt;P&gt;I think this is the right solution:&lt;BR /&gt;Use this as the measure ..Sum(AGGR(If(Count({&amp;lt;Product={A}&amp;gt;}Product)&amp;gt;1,Count(Distinct City)), City))&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="314d1dcc7f0c4b0c964ddffbda92ea07.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29156i596BC97AE2867455/image-size/large?v=v2&amp;amp;px=999" role="button" title="314d1dcc7f0c4b0c964ddffbda92ea07.png" alt="314d1dcc7f0c4b0c964ddffbda92ea07.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 23:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Question-to-solve-duplicate-medical-codes-problem/m-p/1679669#M63773</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2020-02-26T23:49:42Z</dc:date>
    </item>
  </channel>
</rss>

