<?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: Qlik Sense Dual Function - Displaying Text Value in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dual-Function-Displaying-Text-Value/m-p/1723302#M55041</link>
    <description>&lt;P&gt;An alternative solution could be.&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;TS_StatusOrderMap:
mapping load Status, dual(Status,Flag) inline [
Status, Flag
Posted, 4
Submitted, 3
Approved, 2
Open, 1
] ;

//Then apply this in the script to your table like so:

LOAD
...
ApplyMap('TS_StatusOrderMap',Status) as Status,
...;
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jun 2020 22:46:52 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2020-06-29T22:46:52Z</dc:date>
    <item>
      <title>Qlik Sense Dual Function - Displaying Text Value</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dual-Function-Displaying-Text-Value/m-p/1723275#M55035</link>
      <description>&lt;P&gt;I searched on this topic and didn't find any satisfying answers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something has definitely changed between QlikView and Qlik Sense.&amp;nbsp; We are running Nov 2019.&lt;/P&gt;&lt;P&gt;I have a set of statuses that I have formatted as DUAL values using a mapping table:&lt;/P&gt;&lt;P&gt;TS_StatusOrderMap:&lt;BR /&gt;mapping load * inline [&lt;BR /&gt;Status, Flag&lt;BR /&gt;Posted, 4&lt;BR /&gt;Submitted, 3&lt;BR /&gt;Approved, 2&lt;BR /&gt;Open, 1&lt;BR /&gt;] ;&lt;/P&gt;&lt;P&gt;I then apply this in the script to my table like so:&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;...&lt;BR /&gt;DUAL(Status,ApplyMap('TS_StatusOrderMap',Status)) as Status,&lt;BR /&gt;...;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once I reload, my Status filter only shows the numeric values 1-4, and my measure were i'm asking for it to show the&lt;BR /&gt;Max(Status) or even MaxString(Status) always shows a number.&amp;nbsp; I need to show the text values.&lt;/P&gt;&lt;P&gt;There are cases where there are multiple statuses for a given row of data, so I need to show the max status.&lt;/P&gt;&lt;P&gt;What is going on here?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dual-Function-Displaying-Text-Value/m-p/1723275#M55035</guid>
      <dc:creator>tschullo</dc:creator>
      <dc:date>2024-11-16T18:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Dual Function - Displaying Text Value</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dual-Function-Displaying-Text-Value/m-p/1723279#M55036</link>
      <description>&lt;P&gt;Can you try Text(&lt;SPAN&gt;Max(Status))?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 21:03:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dual-Function-Displaying-Text-Value/m-p/1723279#M55036</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-29T21:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Dual Function - Displaying Text Value</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dual-Function-Displaying-Text-Value/m-p/1723302#M55041</link>
      <description>&lt;P&gt;An alternative solution could be.&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;TS_StatusOrderMap:
mapping load Status, dual(Status,Flag) inline [
Status, Flag
Posted, 4
Submitted, 3
Approved, 2
Open, 1
] ;

//Then apply this in the script to your table like so:

LOAD
...
ApplyMap('TS_StatusOrderMap',Status) as Status,
...;
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 22:46:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dual-Function-Displaying-Text-Value/m-p/1723302#M55041</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-06-29T22:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Dual Function - Displaying Text Value</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dual-Function-Displaying-Text-Value/m-p/1727797#M55482</link>
      <description>&lt;P&gt;I haven't quite put my finger on the issue yet, but it turns out that in my script, I load the data first as a temp table and then I create a new table with some additional translations.&amp;nbsp; If I do the DUAL in the first load, everything works normally, but if I do it in the second table load, the weird behavior occurs where even a filter list of the Status field shows numbers instead of text values.&amp;nbsp; &amp;nbsp;Once I moved the DUAL to the first table, MaxString worked just fine.&lt;/P&gt;&lt;P&gt;I think this is a bug in QS as I have never seen it happen in QV.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2020 20:46:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dual-Function-Displaying-Text-Value/m-p/1727797#M55482</guid>
      <dc:creator>tschullo</dc:creator>
      <dc:date>2020-07-14T20:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Dual Function - Displaying Text Value</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dual-Function-Displaying-Text-Value/m-p/2536957#M108741</link>
      <description>&lt;P&gt;This works!&lt;/P&gt;</description>
      <pubDate>Sun, 23 Nov 2025 14:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dual-Function-Displaying-Text-Value/m-p/2536957#M108741</guid>
      <dc:creator>rahulanand</dc:creator>
      <dc:date>2025-11-23T14:40:50Z</dc:date>
    </item>
  </channel>
</rss>

