<?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: Mode() Function for 1 record in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Mode-Function-for-1-record/m-p/1589918#M596467</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;i does return text , i think the confusion is with mod function&amp;nbsp;&lt;/P&gt;&lt;P&gt;in your data your problem is the reporting column is not numeric&amp;nbsp;&lt;/P&gt;&lt;P&gt;attach is a model where i changed it to date&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jun 2019 09:38:05 GMT</pubDate>
    <dc:creator>lironbaram</dc:creator>
    <dc:date>2019-06-10T09:38:05Z</dc:date>
    <item>
      <title>Mode() Function for 1 record</title>
      <link>https://community.qlik.com/t5/QlikView/Mode-Function-for-1-record/m-p/1589876#M596459</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;I want to get the mode for the name for the current month, but for the current month, it has only&amp;nbsp;&lt;U&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/U&gt;&lt;U&gt; existing record&lt;/U&gt;. This is my expression that displays the name in a &lt;STRONG&gt;textbox in Qlikview&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mode({&amp;lt;Month ={"$(=vCurrentMonth)"}&amp;gt;} Name)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The result that it shows for that current month is &lt;U&gt;blank&lt;/U&gt; ( is it because it's returning NULL?)&lt;/P&gt;&lt;P&gt;Would like it to display the name regardless of whether it has 1 or more records.&lt;/P&gt;&lt;P&gt;Appreciate any help, please type in example instead of putting Qlikview files, thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:42:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mode-Function-for-1-record/m-p/1589876#M596459</guid>
      <dc:creator>cloud</dc:creator>
      <dc:date>2024-11-16T20:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Mode() Function for 1 record</title>
      <link>https://community.qlik.com/t5/QlikView/Mode-Function-for-1-record/m-p/1589882#M596460</link>
      <description>&lt;P&gt;It should not. If more that one value equally occur in the data scope, NULL is returned. For single record, it should return the value itself. Could you share a sample app that reflects the issue?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 08:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mode-Function-for-1-record/m-p/1589882#M596460</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-06-10T08:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Mode() Function for 1 record</title>
      <link>https://community.qlik.com/t5/QlikView/Mode-Function-for-1-record/m-p/1589888#M596461</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;/P&gt;&lt;P&gt;the problem is not with, the mode function it works for 1 record , it's with your set expression&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you'll remove the set expression and manually select the current month you'll see you get a result&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 08:15:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mode-Function-for-1-record/m-p/1589888#M596461</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2019-06-10T08:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Mode() Function for 1 record</title>
      <link>https://community.qlik.com/t5/QlikView/Mode-Function-for-1-record/m-p/1589892#M596462</link>
      <description>&lt;P&gt;Hi, I can't upload anything due to security issues, here is a sample example:&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Name&lt;/TD&gt;&lt;TD&gt;Type&lt;/TD&gt;&lt;TD&gt;Location&lt;/TD&gt;&lt;TD&gt;Months&lt;/TD&gt;&lt;TD&gt;Reporting&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Rosie&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;YYXX&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;May-19&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;John&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;XXSS&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;Apr-19&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Rosie&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;AAWW&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;Apr-19&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Sally&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;FFDD&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;Apr-19&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my current month in this sample is May, and I want to show "Rosie" in the text box as it is the only record for Mode, using my expression that I've placed above. It's a must to show only the current month. I've used Mode ()with Type with the same expression and for some reason it works fine. Not sure what's wrong.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 08:41:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mode-Function-for-1-record/m-p/1589892#M596462</guid>
      <dc:creator>cloud</dc:creator>
      <dc:date>2019-06-10T08:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Mode() Function for 1 record</title>
      <link>https://community.qlik.com/t5/QlikView/Mode-Function-for-1-record/m-p/1589893#M596463</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;Would like it to display the name regardless of whether it has 1 or more records.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Mode is a statistical function, not a text function.&amp;nbsp; What output do you require?&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;EM&gt;This is my expression that displays the name in a&amp;nbsp;textbox in Qlikview:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Not as far as I can see. Mode will return a number (or a NULL if the input is a text field).&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 08:28:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mode-Function-for-1-record/m-p/1589893#M596463</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-06-10T08:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Mode() Function for 1 record</title>
      <link>https://community.qlik.com/t5/QlikView/Mode-Function-for-1-record/m-p/1589895#M596464</link>
      <description>I need a text output, and I think Mode() can provide text output as well?</description>
      <pubDate>Mon, 10 Jun 2019 08:25:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mode-Function-for-1-record/m-p/1589895#M596464</guid>
      <dc:creator>cloud</dc:creator>
      <dc:date>2019-06-10T08:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Mode() Function for 1 record</title>
      <link>https://community.qlik.com/t5/QlikView/Mode-Function-for-1-record/m-p/1589897#M596465</link>
      <description>&lt;P&gt;No - it cannot (and does not). You will get a null.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 08:28:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mode-Function-for-1-record/m-p/1589897#M596465</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-06-10T08:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Mode() Function for 1 record</title>
      <link>https://community.qlik.com/t5/QlikView/Mode-Function-for-1-record/m-p/1589898#M596466</link>
      <description>&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/ChartFunctions/BasicAggregationFunctions/mode.htm" target="_self"&gt;Link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Referring to this, mode can display text values.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 08:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mode-Function-for-1-record/m-p/1589898#M596466</guid>
      <dc:creator>cloud</dc:creator>
      <dc:date>2019-06-10T08:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Mode() Function for 1 record</title>
      <link>https://community.qlik.com/t5/QlikView/Mode-Function-for-1-record/m-p/1589918#M596467</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;i does return text , i think the confusion is with mod function&amp;nbsp;&lt;/P&gt;&lt;P&gt;in your data your problem is the reporting column is not numeric&amp;nbsp;&lt;/P&gt;&lt;P&gt;attach is a model where i changed it to date&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 09:38:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mode-Function-for-1-record/m-p/1589918#M596467</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2019-06-10T09:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Mode() Function for 1 record</title>
      <link>https://community.qlik.com/t5/QlikView/Mode-Function-for-1-record/m-p/1590329#M596468</link>
      <description>Hi Liron,&lt;BR /&gt;Like i've stated at my post, please type example as I can't open any Qlikview files. Thanks.</description>
      <pubDate>Tue, 11 Jun 2019 07:59:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mode-Function-for-1-record/m-p/1590329#M596468</guid>
      <dc:creator>cloud</dc:creator>
      <dc:date>2019-06-11T07:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Mode() Function for 1 record</title>
      <link>https://community.qlik.com/t5/QlikView/Mode-Function-for-1-record/m-p/1590363#M596469</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;there is nothing special in the expression&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the expression :&lt;/P&gt;&lt;P&gt;=mode({&amp;lt;Reporting={"$(vCurrentMonth)"}&amp;gt;}name)&lt;/P&gt;&lt;P&gt;and this the variable expression&amp;nbsp;&lt;/P&gt;&lt;P&gt;=date(max(Reporting),'MM/DD/YYYY')&lt;/P&gt;&lt;P&gt;the only other change is that the field Reporting&amp;nbsp;&lt;/P&gt;&lt;P&gt;contains values like this 01/05/2019 for May and 01/04/2019 for April&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 09:17:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mode-Function-for-1-record/m-p/1590363#M596469</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2019-06-11T09:17:57Z</dc:date>
    </item>
  </channel>
</rss>

