<?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: How to pass field name into expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-pass-field-name-into-expression/m-p/405101#M1154626</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Have a look at the attached example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Mar 2013 06:25:21 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2013-03-29T06:25:21Z</dc:date>
    <item>
      <title>How to pass field name into expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-field-name-into-expression/m-p/405099#M1154623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wanted to pass a field name into expression to make the expression dynamic. The field name is in a listbox filled by inline code. So far, no success.&lt;/P&gt;&lt;P&gt;Here is the example. The field name is Readmit14 and Count(Readmit14)&amp;nbsp; returns 15. When I pass the field name (%Metrics) using the list box which only allows single selection, result is 1 even the field name selected is Readmit14. Count(%Metrics)=1. How can I do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Longmatch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 21:51:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-field-name-into-expression/m-p/405099#M1154623</guid>
      <dc:creator />
      <dc:date>2013-03-28T21:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass field name into expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-field-name-into-expression/m-p/405100#M1154624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write below expression in Chart expression tab,in conditional expression:&lt;/P&gt;&lt;P&gt;-For Readmit14:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubStringCount&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Exp,'|'),'Readmit14') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Similarly &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;-For %Metrics:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;SubStringCount&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Exp,'|'),'%Metrics') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;-Here Exp is filed name to be cretaed by Inline.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;-It contains all values of expression name you need to display in chart i.e. Readmit14,%Metrics .... so on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;-calculate the expressions as per there original Kpi fields.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;-By using above expressions intially table will show all expressions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;-On selecting particular expression from Exp listbox it will show only that expression in the chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Udit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 06:14:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-field-name-into-expression/m-p/405100#M1154624</guid>
      <dc:creator>udit_kumar_sana</dc:creator>
      <dc:date>2013-03-29T06:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass field name into expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-field-name-into-expression/m-p/405101#M1154626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Have a look at the attached example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 06:25:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-field-name-into-expression/m-p/405101#M1154626</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-03-29T06:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass field name into expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-field-name-into-expression/m-p/405102#M1154627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used your method still cannot get it to work. Here are the inline code I used: there is only one column in your sample, but my project has 3. I created a variable (Metrics), make it equal to %Metrics and used $(Metrics) in expression. not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt; %Metrics, %Intervention, %Fuallname&lt;/P&gt;&lt;P&gt; CXR, Intervention, Chest x-ray&lt;/P&gt;&lt;P&gt; OrderSet, OrderSetIntervention, Order set utilization&lt;/P&gt;&lt;P&gt; IPOrderSet, OrderSetIntervention, IP Order set utilization&lt;/P&gt;&lt;P&gt; ECOrderSet, OrderSetIntervention, EC Order set utilization&lt;/P&gt;&lt;P&gt; Readmit31, OrderSetIntervention, 31 day Readmission &lt;/P&gt;&lt;P&gt; Readmit14, OrderSetIntervention, 14 day Readmission&lt;/P&gt;&lt;P&gt; Readmit7,&amp;nbsp; OrderSetIntervention, 7 day Readmission &lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 09:09:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-field-name-into-expression/m-p/405102#M1154627</guid>
      <dc:creator />
      <dc:date>2013-03-29T09:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass field name into expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-field-name-into-expression/m-p/405103#M1154628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Did u put '=' sign in your variable? It is important&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 09:13:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-field-name-into-expression/m-p/405103#M1154628</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-03-29T09:13:29Z</dc:date>
    </item>
  </channel>
</rss>

