<?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: Re: Need a technique in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-a-technique/m-p/721598#M1063101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have implemented the logic i created earlier to edit your QVW. Take a look at the expression and how the table changes when you select a value in the Agency/Non-Agency Field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Sep 2014 14:30:06 GMT</pubDate>
    <dc:creator>cspencer3</dc:creator>
    <dc:date>2014-09-18T14:30:06Z</dc:date>
    <item>
      <title>Need a technique</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-technique/m-p/721592#M1063095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends/Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i have a n Inline load&lt;/P&gt;&lt;P&gt;Load * INLINE [&lt;/P&gt;&lt;P&gt;service id,Service Type&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,Agency&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2,Non Agency&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;Agency_Table:&lt;/P&gt;&lt;P&gt;agency_Name (this field is having some data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the Report i need to show when the user select "Agency" then straight table need to show (agency_name&amp;lt;&amp;gt;'DIRECT')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF the user select "NON Agency" then straight table need to show (agency_name='DIRECT')&lt;/P&gt;&lt;P&gt;How can i achieve this result .please help me &lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Note:- &lt;/STRONG&gt; there is no list box for Agency_Name in report&lt;/P&gt;&lt;P&gt;i tried like this &lt;/P&gt;&lt;P&gt;=if([Service Type]='Agency' and [Agency Name]&amp;lt;&amp;gt;'DIRECT',&lt;/P&gt;&lt;P&gt;if(([Service Type]='Non Agency' and [Agency Name]='DIRECT'),[Agency Name]))&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there was no error in expression but it is not given proper result for me &lt;/P&gt;&lt;P&gt;if i checked for &lt;/P&gt;&lt;P&gt;=if([Service Type]='Agency' and [Agency Name]&amp;lt;&amp;gt;'DIRECT',[Agency Name])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is giving proper results for this ,But if i add 2nd statement i didn't got results please help me.&lt;/P&gt;&lt;P&gt;In advance thanks to all experts who r helped to me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 14:32:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-technique/m-p/721592#M1063095</guid>
      <dc:creator>ramasaisaksoft</dc:creator>
      <dc:date>2014-09-17T14:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need a technique</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-technique/m-p/721593#M1063096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your Expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a Straight Table&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;agency_name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression (something like below, Change accordingly)&lt;/P&gt;&lt;P&gt;IF([Service Type] = 'Agency',SUM({&amp;lt;agency_name -= {'DIRECT'}&amp;gt;}Value),SUM({&amp;lt;agency_name = {'DIRECT'}&amp;gt;}Value))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 14:43:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-technique/m-p/721593#M1063096</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-17T14:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Need a technique</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-technique/m-p/721594#M1063097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does&amp;nbsp; the list box for [Service Type] allow 'only 1 selected value' ?&amp;nbsp; That would be important. If so i think you need to use an aggregation function to get the selected value like only ( [Service Type])&amp;nbsp; or create a variable called&amp;nbsp; vSelectedServiceType&amp;nbsp; with a formula&amp;nbsp; =Only([Service Type])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in your expression you could create a calculated dimension like: &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;"&gt;if( only([Service Type])='Agency' and [Agency Name]&amp;lt;&amp;gt;'DIRECT',[Agency Name])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;if(&amp;nbsp; $(vSelectedServiceType)='Agency' and [Agency Name]&amp;lt;&amp;gt;'DIRECT',[Agency Name])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;The first option may need an aggr() in there but the 2nd option is better IMHO.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 14:46:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-technique/m-p/721594#M1063097</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-17T14:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need a technique</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-technique/m-p/721595#M1063098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check enclosed file...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 14:47:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-technique/m-p/721595#M1063098</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-17T14:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need a technique</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-technique/m-p/721596#M1063099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use the GetFieldSelections() function to determine what is selected in that list box. Then in your expression or calculated dimension do something such as :&lt;/P&gt;&lt;P&gt;if(GetFieldSelections(ServiceType,';',10) = 'Agency', TRUE STATEMENT, FALSE STATEMENT) . You could also nest this If statement if necessary to accommodate more values. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 19:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-technique/m-p/721596#M1063099</guid>
      <dc:creator>cspencer3</dc:creator>
      <dc:date>2014-09-17T19:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need a technique</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-technique/m-p/721597#M1063100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please check above attachments for better understanding,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; here i need if user selects "Agency" then straight table chart needs to show data&amp;nbsp; without "direct" agency&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if the user selects"Non Agency " then straight table chart needs to show data&amp;nbsp; which is&amp;nbsp; "Direct" agency .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 06:47:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-technique/m-p/721597#M1063100</guid>
      <dc:creator>ramasaisaksoft</dc:creator>
      <dc:date>2014-09-18T06:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Need a technique</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-technique/m-p/721598#M1063101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have implemented the logic i created earlier to edit your QVW. Take a look at the expression and how the table changes when you select a value in the Agency/Non-Agency Field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 14:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-technique/m-p/721598#M1063101</guid>
      <dc:creator>cspencer3</dc:creator>
      <dc:date>2014-09-18T14:30:06Z</dc:date>
    </item>
  </channel>
</rss>

