<?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 Field value in Macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Field-value-in-Macro/m-p/264989#M99593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your example, calling &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set invoiceNumbers = ActiveDocument.fields("Invoice").GetPossibleValues&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will give you invoice 456788 if customer 12 is selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Oct 2011 16:31:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-21T16:31:04Z</dc:date>
    <item>
      <title>Field value in Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Field-value-in-Macro/m-p/264986#M99590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've a table and I want to retrieve selected value for the selected fields and for the other fields of same records.&lt;/P&gt;&lt;P&gt;I can get the first with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set expSelection = ActiveDocument.fields("%ExpName").GetSelectedValues&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but what about other fields value of same record ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;S.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 21:11:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-value-in-Macro/m-p/264986#M99590</guid>
      <dc:creator />
      <dc:date>2011-10-20T21:11:28Z</dc:date>
    </item>
    <item>
      <title>Field value in Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Field-value-in-Macro/m-p/264987#M99591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the GetPossibleValues function to get the list of values that have not be selected but has been filtered as a results of selections in different fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 23:47:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-value-in-Macro/m-p/264987#M99591</guid>
      <dc:creator />
      <dc:date>2011-10-20T23:47:35Z</dc:date>
    </item>
    <item>
      <title>Field value in Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Field-value-in-Macro/m-p/264988#M99592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vhuynh I'm not sure If I was enough clear.&lt;/P&gt;&lt;P&gt;I don't need to have unselected values of selected fields but I need to get value of other fields of selected record.&lt;/P&gt;&lt;P&gt;Eg :&lt;/P&gt;&lt;P&gt;Customer Invoice&lt;/P&gt;&lt;P&gt;12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 456788&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I select Customer 12 so I get this customer with &lt;/P&gt;&lt;P&gt;set expSelection = ActiveDocument.fields("%ExpName").GetSelectedValues&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get the related invoice nr ?!&lt;/P&gt;&lt;P&gt;I hope I clairified the requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help&lt;/P&gt;&lt;P&gt;S.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2011 06:47:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-value-in-Macro/m-p/264988#M99592</guid>
      <dc:creator />
      <dc:date>2011-10-21T06:47:56Z</dc:date>
    </item>
    <item>
      <title>Field value in Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Field-value-in-Macro/m-p/264989#M99593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your example, calling &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set invoiceNumbers = ActiveDocument.fields("Invoice").GetPossibleValues&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will give you invoice 456788 if customer 12 is selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2011 16:31:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-value-in-Macro/m-p/264989#M99593</guid>
      <dc:creator />
      <dc:date>2011-10-21T16:31:04Z</dc:date>
    </item>
    <item>
      <title>Field value in Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Field-value-in-Macro/m-p/264990#M99594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create variable vInvoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add this to your code.&lt;/P&gt;&lt;P&gt;Set tot = ActiveDocument.GetVariable("vInvoice")&lt;/P&gt;&lt;P&gt;tot.SetContent "=Max({&amp;lt;%ExpName={'"&amp;amp;expSelection .GetContent.String&amp;amp;"'}&amp;gt;} Reach)",true &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;msgbox(tot.GetContent.String)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used Max function, use which ever is appropiate&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2011 16:38:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-value-in-Macro/m-p/264990#M99594</guid>
      <dc:creator />
      <dc:date>2011-10-21T16:38:26Z</dc:date>
    </item>
    <item>
      <title>Field value in Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Field-value-in-Macro/m-p/264991#M99595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've already tried. Do u think it works even if more values are selected (eg more customers are selected ?)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Oct 2011 14:36:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-value-in-Macro/m-p/264991#M99595</guid>
      <dc:creator />
      <dc:date>2011-10-23T14:36:27Z</dc:date>
    </item>
    <item>
      <title>Field value in Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Field-value-in-Macro/m-p/264992#M99596</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;I think you have to concatenate (in the loader) each columns you wan't to retrive and split them in the macro if you wan't to work with Multi Values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The getPossible value and the getFieldValue give the DISTINCT value for only ONE columns and you have no way to do the mapping.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Oct 2011 22:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-value-in-Macro/m-p/264992#M99596</guid>
      <dc:creator />
      <dc:date>2011-10-23T22:10:21Z</dc:date>
    </item>
  </channel>
</rss>

