<?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: Dimension as a KPI in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimension-as-a-KPI/m-p/95521#M15352</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I stumbled upon the correct way to get the 'MMM' format.&lt;/P&gt;&lt;P&gt;..... -&amp;gt; change Number Formatting to 'Measure expression'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Sep 2018 07:22:18 GMT</pubDate>
    <dc:creator>mindyckay</dc:creator>
    <dc:date>2018-09-21T07:22:18Z</dc:date>
    <item>
      <title>Dimension as a KPI</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-as-a-KPI/m-p/95517#M15348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need help with codes to create KPIs in Qlik Sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Business Question:&lt;/P&gt;&lt;P&gt;Which months in the year has the highest and lowest number of patients?&lt;/P&gt;&lt;P&gt; - &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[SurgeryDate.autoCalendar.Month]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; - Max(Count(distinct PatientID))&amp;nbsp;&amp;nbsp; ..... correct month is September&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; - Min(Count(distinct PatientID))&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;..... correct month is August&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I tried ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;= Mode&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;([SurgeryDate.autoCalendar.Month]), received a '9' correct number but need 'September'&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=FirstSortedValue([SurgeryDate.autoCalendar.Month], Aggr(Count(distinct PatientID, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[SurgeryDate.autoCalendar.Month])&lt;/SPAN&gt;) , &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;received a '8' correct number but need 'August'&lt;/SPAN&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't know why &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[SurgeryDate.autoCalendar.Month] is coming back as numbers in the above calculations because in the charts as a dimension the fields are shown as Sep and Aug.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Mindy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2018 05:19:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-as-a-KPI/m-p/95517#M15348</guid>
      <dc:creator>mindyckay</dc:creator>
      <dc:date>2018-09-21T05:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension as a KPI</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-as-a-KPI/m-p/95518#M15349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Usually, to get month name instead of the number, you could use MaxString()/MinString(). However, here you could also try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Month(MakeDate(1,&amp;lt;YourExpression returnign the right number&amp;gt;))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2018 05:27:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-as-a-KPI/m-p/95518#M15349</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-09-21T05:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension as a KPI</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-as-a-KPI/m-p/95519#M15350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Most date dimensions will have dual capability. Stored as numbers, but can be displayed as text or number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try formatting your expressions like this..&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;= Date(Mode&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;([SurgeryDate.autoCalendar.Month]),'MMM') received a '9' correct number but need 'September'&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;= Date(FirstSortedValue([SurgeryDate.autoCalendar.Month], Aggr(Count(distinct PatientID, &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;[SurgeryDate.autoCalendar.Month])&lt;/SPAN&gt;) , 'MMM'), &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;received a '8' correct number but need 'August'&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2018 05:58:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-as-a-KPI/m-p/95519#M15350</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2018-09-21T05:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension as a KPI</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-as-a-KPI/m-p/95520#M15351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lisa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess Date(MonthField, 'MMM') would give wrong output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2018 06:06:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-as-a-KPI/m-p/95520#M15351</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-09-21T06:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension as a KPI</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-as-a-KPI/m-p/95521#M15352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I stumbled upon the correct way to get the 'MMM' format.&lt;/P&gt;&lt;P&gt;..... -&amp;gt; change Number Formatting to 'Measure expression'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2018 07:22:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-as-a-KPI/m-p/95521#M15352</guid>
      <dc:creator>mindyckay</dc:creator>
      <dc:date>2018-09-21T07:22:18Z</dc:date>
    </item>
  </channel>
</rss>

