<?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 Sort chart with null values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sort-chart-with-null-values/m-p/1733318#M55976</link>
    <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;I created a bar chart with 1 measure:&amp;nbsp;count(distinct [Number])+0*count({1}distinct [Number])&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SwenvW_1-1596612013549.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/38544i05F3AFDD374671F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SwenvW_1-1596612013549.png" alt="SwenvW_1-1596612013549.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This formula gives me a "0" for all attributes that normally would not be shown. this works fine for me.&lt;/P&gt;&lt;P&gt;BUT i also want a hardcoded sorting for the attributes (dimension Status).&lt;BR /&gt;I tried and failed these 2 possiblities in "sort by expression":&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;if([Status]='Attr1',1, if([Status]='Attr2',2, if([Status]='Attr3',3, if([Status]='Attr4',4, 100))))&lt;/LI&gt;&lt;LI&gt;match (Status, 'Attr1','Attr2','Attr3,'Attr4')&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Does anyone has an idea how to solve it?&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;BR /&gt;Swen&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:44:25 GMT</pubDate>
    <dc:creator>SwenWa</dc:creator>
    <dc:date>2024-11-16T01:44:25Z</dc:date>
    <item>
      <title>Sort chart with null values</title>
      <link>https://community.qlik.com/t5/App-Development/Sort-chart-with-null-values/m-p/1733318#M55976</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;I created a bar chart with 1 measure:&amp;nbsp;count(distinct [Number])+0*count({1}distinct [Number])&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SwenvW_1-1596612013549.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/38544i05F3AFDD374671F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SwenvW_1-1596612013549.png" alt="SwenvW_1-1596612013549.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This formula gives me a "0" for all attributes that normally would not be shown. this works fine for me.&lt;/P&gt;&lt;P&gt;BUT i also want a hardcoded sorting for the attributes (dimension Status).&lt;BR /&gt;I tried and failed these 2 possiblities in "sort by expression":&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;if([Status]='Attr1',1, if([Status]='Attr2',2, if([Status]='Attr3',3, if([Status]='Attr4',4, 100))))&lt;/LI&gt;&lt;LI&gt;match (Status, 'Attr1','Attr2','Attr3,'Attr4')&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Does anyone has an idea how to solve it?&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;BR /&gt;Swen&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:44:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sort-chart-with-null-values/m-p/1733318#M55976</guid>
      <dc:creator>SwenWa</dc:creator>
      <dc:date>2024-11-16T01:44:25Z</dc:date>
    </item>
  </channel>
</rss>

