<?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: One Yes/no filter button for multiple conditional charts in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/One-Yes-no-filter-button-for-multiple-conditional-charts/m-p/1948215#M78158</link>
    <description>&lt;P&gt;Hello sidhiq,&lt;/P&gt;
&lt;P&gt;Attached the sample data&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 26 Jun 2022 13:44:02 GMT</pubDate>
    <dc:creator>sandp707</dc:creator>
    <dc:date>2022-06-26T13:44:02Z</dc:date>
    <item>
      <title>One Yes/no filter button for multiple conditional charts</title>
      <link>https://community.qlik.com/t5/App-Development/One-Yes-no-filter-button-for-multiple-conditional-charts/m-p/1948176#M78150</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;
&lt;P&gt;I want to create a single filter XYZ in the script. This will act like conditional button for different conditional charts.&lt;/P&gt;
&lt;P&gt;chart 1: Show employee name&lt;/P&gt;
&lt;P&gt;— If the filter XYZ is ‘YES’ then show the names of employees whose name length is more then 9 characters&amp;nbsp;&lt;/P&gt;
&lt;P&gt;— if the filter XYZ is ‘NO’ then show the names less than 9 characters&lt;/P&gt;
&lt;P&gt;chart 2: Show employee salary&lt;/P&gt;
&lt;P&gt;— if the same filter XYZ is selected ‘YES’ this chart should show all the salaries which are more than 50000&lt;/P&gt;
&lt;P&gt;– if the same filter XYZ is selected ‘NO’ the same chart should show less than 50000&lt;/P&gt;
&lt;P&gt;chart 3: Show employee city&lt;/P&gt;
&lt;P&gt;— if filter XYZ is ‘YES’ this chart should cities names starting with A,B,C&lt;/P&gt;
&lt;P&gt;— if filter XYZ is ‘NO’ this chart should show cities with D,E,F&lt;/P&gt;
&lt;P&gt;chart 4: show employee date of joining&amp;nbsp;&lt;/P&gt;
&lt;P&gt;— if filter XYZ is ‘YES’ this chart should show dates before 2019&lt;/P&gt;
&lt;P&gt;— if the filter XYZ is ‘NO’ this chart should show dates after 2019&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jun 2022 18:01:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/One-Yes-no-filter-button-for-multiple-conditional-charts/m-p/1948176#M78150</guid>
      <dc:creator>sandp707</dc:creator>
      <dc:date>2022-06-25T18:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: One Yes/no filter button for multiple conditional charts</title>
      <link>https://community.qlik.com/t5/App-Development/One-Yes-no-filter-button-for-multiple-conditional-charts/m-p/1948187#M78152</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/121457"&gt;@sandp707&lt;/a&gt;&amp;nbsp; Could you please provide us with the sample data that would help us better understand the requirement and help you. Thanks.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jun 2022 02:41:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/One-Yes-no-filter-button-for-multiple-conditional-charts/m-p/1948187#M78152</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-06-26T02:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: One Yes/no filter button for multiple conditional charts</title>
      <link>https://community.qlik.com/t5/App-Development/One-Yes-no-filter-button-for-multiple-conditional-charts/m-p/1948215#M78158</link>
      <description>&lt;P&gt;Hello sidhiq,&lt;/P&gt;
&lt;P&gt;Attached the sample data&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jun 2022 13:44:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/One-Yes-no-filter-button-for-multiple-conditional-charts/m-p/1948215#M78158</guid>
      <dc:creator>sandp707</dc:creator>
      <dc:date>2022-06-26T13:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: One Yes/no filter button for multiple conditional charts</title>
      <link>https://community.qlik.com/t5/App-Development/One-Yes-no-filter-button-for-multiple-conditional-charts/m-p/1948443#M78174</link>
      <description />
      <pubDate>Mon, 27 Jun 2022 10:32:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/One-Yes-no-filter-button-for-multiple-conditional-charts/m-p/1948443#M78174</guid>
      <dc:creator>sandp707</dc:creator>
      <dc:date>2022-06-27T10:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: One Yes/no filter button for multiple conditional charts</title>
      <link>https://community.qlik.com/t5/App-Development/One-Yes-no-filter-button-for-multiple-conditional-charts/m-p/1948481#M78176</link>
      <description>&lt;P&gt;Hello Sandp, I have created a QVF file for you. Just click on the filter XYZ and see the changes happening.&lt;/P&gt;
&lt;P&gt;Please let me know if it has solved your issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 12:12:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/One-Yes-no-filter-button-for-multiple-conditional-charts/m-p/1948481#M78176</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-06-27T12:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: One Yes/no filter button for multiple conditional charts</title>
      <link>https://community.qlik.com/t5/App-Development/One-Yes-no-filter-button-for-multiple-conditional-charts/m-p/1948546#M78181</link>
      <description>&lt;P&gt;Hello Sidhiq,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The qvf file is not supporting. Could you please send me qvw format of the same if fine for you.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Sandeep&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 13:25:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/One-Yes-no-filter-button-for-multiple-conditional-charts/m-p/1948546#M78181</guid>
      <dc:creator>sandp707</dc:creator>
      <dc:date>2022-06-27T13:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: One Yes/no filter button for multiple conditional charts</title>
      <link>https://community.qlik.com/t5/App-Development/One-Yes-no-filter-button-for-multiple-conditional-charts/m-p/1948553#M78182</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/121457"&gt;@sandp707&lt;/a&gt;&amp;nbsp; Are you working on Qlikview or Qlik sense? Because converting from QVF to QVW is not possible. I might have to create the entire thing in the Qlikview.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 13:32:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/One-Yes-no-filter-button-for-multiple-conditional-charts/m-p/1948553#M78182</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-06-27T13:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: One Yes/no filter button for multiple conditional charts</title>
      <link>https://community.qlik.com/t5/App-Development/One-Yes-no-filter-button-for-multiple-conditional-charts/m-p/1948568#M78184</link>
      <description>&lt;P&gt;Sidhiq,&lt;/P&gt;
&lt;P&gt;Could you please give me the script part which you used to create the qvf.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 13:52:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/One-Yes-no-filter-button-for-multiple-conditional-charts/m-p/1948568#M78184</guid>
      <dc:creator>sandp707</dc:creator>
      <dc:date>2022-06-27T13:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: One Yes/no filter button for multiple conditional charts</title>
      <link>https://community.qlik.com/t5/App-Development/One-Yes-no-filter-button-for-multiple-conditional-charts/m-p/1948606#M78185</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/121457"&gt;@sandp707&lt;/a&gt;&amp;nbsp; I have not created anything in the Script. Everything was done in the front end only. Anyways I will take you through the steps, let me know if you can follow this. But this is going to be lengthy.&lt;/P&gt;
&lt;P&gt;Step1: Below is the Script that was used:&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Temp:&lt;BR /&gt;LOAD&lt;BR /&gt;Name,&lt;BR /&gt;Designation,&lt;BR /&gt;"Joining Month",&lt;BR /&gt;"Year",&lt;BR /&gt;CTC,&lt;BR /&gt;Gender,&lt;BR /&gt;Prefix,&lt;BR /&gt;Country&lt;BR /&gt;FROM [lib://Qlik Practice/Qlik Community Button.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;ButtonObject:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;ButtonName, Value&lt;BR /&gt;Yes, 1&lt;BR /&gt;No, 0&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Exit Script;&lt;/P&gt;
&lt;P&gt;Step2: I have created 8 chart(i.e. 8 straight tables) for 'YES' and 'NO' condition and added them to the master Items.&lt;/P&gt;
&lt;P&gt;Step3: Then I made use of Container for Each of the above Condition,i.e. you need to create 4 Container containing 2 straight tables one is for YES and other is for NO.&lt;/P&gt;
&lt;P&gt;Let me take a example of below condition to explain in detail:&lt;/P&gt;
&lt;P&gt;chart 1: Show employee name&lt;/P&gt;
&lt;P&gt;— If the filter XYZ is ‘YES’ then show the names of employees whose name length is more then 9 characters&amp;nbsp;&lt;/P&gt;
&lt;P&gt;— if the filter XYZ is ‘NO’ then show the names less than 9 characters&lt;/P&gt;
&lt;P&gt;For Employees having more than 9 character, I created a straight table with 2 dimension.&lt;/P&gt;
&lt;P&gt;a. Name : I used a calculated dimension like:if(Len(Name)&amp;gt;9,Name)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;b.&amp;nbsp; Length of the Name: I calculated Len(Name)&lt;/P&gt;
&lt;P&gt;For Employees having less than 9 character, I created a straight table with 2 dimension.&lt;/P&gt;
&lt;P&gt;a. Name : I used a calculated dimension like:if(Len(Name)&amp;lt;=9,Name)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;b.&amp;nbsp; Length of the Name: I calculated Len(Name)&lt;/P&gt;
&lt;P&gt;Now add these 2 tables to master Item&lt;/P&gt;
&lt;P&gt;Next Step is to create a Container object and add these 2 master items that you have created.&lt;/P&gt;
&lt;P&gt;But the trick now for each master Item that you have added to the container, add the Show Condition Value=1 for YES and&amp;nbsp;Value=0 for NO.&lt;/P&gt;
&lt;P&gt;Step 4: Add the Filter Pane and Dimension for that is&amp;nbsp;ButtonName.&lt;/P&gt;
&lt;P&gt;Once this is successful please repeat for other 3 conditions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 14:27:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/One-Yes-no-filter-button-for-multiple-conditional-charts/m-p/1948606#M78185</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-06-27T14:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: One Yes/no filter button for multiple conditional charts</title>
      <link>https://community.qlik.com/t5/App-Development/One-Yes-no-filter-button-for-multiple-conditional-charts/m-p/1948655#M78188</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/121457"&gt;@sandp707&lt;/a&gt;&amp;nbsp; if it resolves your problem. Please accept it as a solution.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 15:27:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/One-Yes-no-filter-button-for-multiple-conditional-charts/m-p/1948655#M78188</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-06-27T15:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: One Yes/no filter button for multiple conditional charts</title>
      <link>https://community.qlik.com/t5/App-Development/One-Yes-no-filter-button-for-multiple-conditional-charts/m-p/1948665#M78189</link>
      <description>&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 15:42:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/One-Yes-no-filter-button-for-multiple-conditional-charts/m-p/1948665#M78189</guid>
      <dc:creator>sandp707</dc:creator>
      <dc:date>2022-06-27T15:42:29Z</dc:date>
    </item>
  </channel>
</rss>

