<?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 Frequency in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Frequency/m-p/277267#M1205105</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically for this chart, I have a data set that has these fields:&lt;/P&gt;&lt;P&gt;Taxonomy Category&lt;/P&gt;&lt;P&gt;CPT Category&lt;/P&gt;&lt;P&gt;CPT Code&lt;/P&gt;&lt;P&gt;Allowed&lt;/P&gt;&lt;P&gt;ClaimStatus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea is to be able to drill down with the group (Taxonomy Category -&amp;gt; CPT Category)&lt;/P&gt;&lt;P&gt;ClaimStatus is based on the Allowed variable. Allowed is a continuous numeric variable. If Allowed is greater than zero, the claim is accepted. If Allowed is less than or equal to zero, then the ClaimStatus is denied. The claims can have more than one CPT code, and while if one CPT is denied - then the whole claim is denied, our focus is which CPT codes are being denied. For this reason, the counts are based on the CPT codes.&lt;/P&gt;&lt;P&gt;What I've done in excel before put the data into a pivot table and set the ClaimStatus as the Column Label, the "Drill" group as the row labels, and then put the sum of the count in the values field.&lt;/P&gt;&lt;P&gt;where the table literally has the headers:&lt;/P&gt;&lt;P&gt;Claim Status&lt;/P&gt;&lt;P&gt;Groups Accepted Accepted% Denied Denied% Total&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully that's the information you needed.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Sep 2010 20:35:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-09-16T20:35:28Z</dc:date>
    <item>
      <title>Frequency</title>
      <link>https://community.qlik.com/t5/QlikView/Frequency/m-p/277260#M1205098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm having trouble figuring out how to do a frequency count of non-continuous data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I'd like to make a chart that looks along the lines of this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Taxonomy Category Accepted Accepted % Denied Denied % Total&lt;/P&gt;&lt;P&gt;Cardiology 50 33% 100 66% 150&lt;/P&gt;&lt;P&gt;Ophthalmology 25 25% 75 75% 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Accepted and Denied are both values within the [Claim Status] variable. I thought perhaps a where clause would work, such as count(ClaimStatus) where ClaimStatus = "Accepted", but that doesn't seem to work. Then there's the issue of figuring out how to add the % columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone point me in the right direction?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 15:02:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Frequency/m-p/277260#M1205098</guid>
      <dc:creator />
      <dc:date>2010-09-16T15:02:33Z</dc:date>
    </item>
    <item>
      <title>Frequency</title>
      <link>https://community.qlik.com/t5/QlikView/Frequency/m-p/277261#M1205099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bump?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 19:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Frequency/m-p/277261#M1205099</guid>
      <dc:creator />
      <dc:date>2010-09-16T19:32:55Z</dc:date>
    </item>
    <item>
      <title>Frequency</title>
      <link>https://community.qlik.com/t5/QlikView/Frequency/m-p/277262#M1205100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this?&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;dimension:&lt;BR /&gt; Taxonomy Category&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;expressions:&lt;BR /&gt; Accepted = count({&amp;lt;ClaimStatus={'Accepted'}&amp;gt;} distinct ClaimID)&lt;BR /&gt; Accepted % = Accepted / Total&lt;BR /&gt; Denied = count({&amp;lt;ClaimStatus={'Denied'}&amp;gt;} distinct ClaimID)&lt;BR /&gt; Denied % = Denied / Total&lt;BR /&gt; Total = count(distinct ClaimID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 19:40:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Frequency/m-p/277262#M1205100</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-09-16T19:40:16Z</dc:date>
    </item>
    <item>
      <title>Frequency</title>
      <link>https://community.qlik.com/t5/QlikView/Frequency/m-p/277263#M1205101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming you have something like ClaimId, it could be&lt;BR /&gt;Accepted = count({$&amp;lt;ClaimStatus={'Accepted'}&amp;gt;}, ClaimId)&lt;BR /&gt;Accepted % = count({$&amp;lt;ClaimStatus={'Accepted'}&amp;gt;}, ClaimId) / count(ClaimId)&lt;BR /&gt;Similar for Denied&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 19:42:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Frequency/m-p/277263#M1205101</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-16T19:42:04Z</dc:date>
    </item>
    <item>
      <title>Frequency</title>
      <link>https://community.qlik.com/t5/QlikView/Frequency/m-p/277264#M1205102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm getting a bad field name error when i try either of your responses. It doesn't like the Accepted at the far left that we're trying to declare as a variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 20:08:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Frequency/m-p/277264#M1205102</guid>
      <dc:creator />
      <dc:date>2010-09-16T20:08:45Z</dc:date>
    </item>
    <item>
      <title>Frequency</title>
      <link>https://community.qlik.com/t5/QlikView/Frequency/m-p/277265#M1205103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you show data model? We can't guess correct field names...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 20:16:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Frequency/m-p/277265#M1205103</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-16T20:16:15Z</dc:date>
    </item>
    <item>
      <title>Frequency</title>
      <link>https://community.qlik.com/t5/QlikView/Frequency/m-p/277266#M1205104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We're not trying to declare "Accepted" as a variable. We're writing shorthand for "You should create a column with the label Accepted that has the definition of count({&amp;lt;ClaimStatus={'Accepted'}&amp;gt;} distinct ClaimID)". But as Michael says, we don't know your field names, which could be another problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 20:20:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Frequency/m-p/277266#M1205104</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-09-16T20:20:46Z</dc:date>
    </item>
    <item>
      <title>Frequency</title>
      <link>https://community.qlik.com/t5/QlikView/Frequency/m-p/277267#M1205105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically for this chart, I have a data set that has these fields:&lt;/P&gt;&lt;P&gt;Taxonomy Category&lt;/P&gt;&lt;P&gt;CPT Category&lt;/P&gt;&lt;P&gt;CPT Code&lt;/P&gt;&lt;P&gt;Allowed&lt;/P&gt;&lt;P&gt;ClaimStatus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea is to be able to drill down with the group (Taxonomy Category -&amp;gt; CPT Category)&lt;/P&gt;&lt;P&gt;ClaimStatus is based on the Allowed variable. Allowed is a continuous numeric variable. If Allowed is greater than zero, the claim is accepted. If Allowed is less than or equal to zero, then the ClaimStatus is denied. The claims can have more than one CPT code, and while if one CPT is denied - then the whole claim is denied, our focus is which CPT codes are being denied. For this reason, the counts are based on the CPT codes.&lt;/P&gt;&lt;P&gt;What I've done in excel before put the data into a pivot table and set the ClaimStatus as the Column Label, the "Drill" group as the row labels, and then put the sum of the count in the values field.&lt;/P&gt;&lt;P&gt;where the table literally has the headers:&lt;/P&gt;&lt;P&gt;Claim Status&lt;/P&gt;&lt;P&gt;Groups Accepted Accepted% Denied Denied% Total&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully that's the information you needed.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 20:35:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Frequency/m-p/277267#M1205105</guid>
      <dc:creator />
      <dc:date>2010-09-16T20:35:28Z</dc:date>
    </item>
    <item>
      <title>Frequency</title>
      <link>https://community.qlik.com/t5/QlikView/Frequency/m-p/277268#M1205106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, other than using the right field names, and telling you to make a straight table instead of a pivot table, I don't have any different answer for you:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;dimension:&lt;BR /&gt; Groups&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;expressions:&lt;BR /&gt; Accepted = count({&amp;lt;ClaimStatus={'Accepted'}&amp;gt;} distinct "CPT Code")&lt;BR /&gt; Accepted % = Accepted / Total&lt;BR /&gt; Denied = count({&amp;lt;ClaimStatus={'Denied'}&amp;gt;} distinct "CPT Code")&lt;BR /&gt; Denied % = Denied / Total&lt;BR /&gt; Total = count(distinct "CPT Code")&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;And it works just fine. See attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 20:51:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Frequency/m-p/277268#M1205106</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-09-16T20:51:29Z</dc:date>
    </item>
    <item>
      <title>Frequency</title>
      <link>https://community.qlik.com/t5/QlikView/Frequency/m-p/277269#M1205107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OH, I see, type it in the expression field as&lt;/P&gt;&lt;P&gt;count({&amp;lt;ClaimStatus={'Accepted'}&amp;gt;), ClaimID)&lt;/P&gt;&lt;P&gt;not as Accepted = count({&amp;lt;ClaimStatus={'Accepted'}&amp;gt;), ClaimID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, thanks for your help gentlemen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 20:53:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Frequency/m-p/277269#M1205107</guid>
      <dc:creator />
      <dc:date>2010-09-16T20:53:42Z</dc:date>
    </item>
  </channel>
</rss>

