<?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: Referring to already calculated field - Master items (?) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Referring-to-already-calculated-field-Master-items/m-p/2139908#M92669</link>
    <description>&lt;P&gt;Thank you once again for your help. I tested it and it works. Unfortunately, as you wrote, I can refer only to Master measure and only in field that is also defined as measure.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One more question pls. What did you mean by this statement : "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Another alternative is to create the field in script and then you can just reference it as you would any other field.&lt;/STRONG&gt;&lt;/EM&gt;" I mean, what do you mean by "script" ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Have a fine rest of day.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Nov 2023 15:28:05 GMT</pubDate>
    <dc:creator>Rudo6</dc:creator>
    <dc:date>2023-11-21T15:28:05Z</dc:date>
    <item>
      <title>Referring to already calculated field - Master items (?)</title>
      <link>https://community.qlik.com/t5/App-Development/Referring-to-already-calculated-field-Master-items/m-p/2139348#M92600</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;
&lt;P&gt;Would you please help me someone what are the possibilities to refer to a column/field, that is the result of certain calculation , e.g. "IF" command ? The goal is to avoid re-writing the code again. I found one type of answer &amp;gt;&amp;gt; using PICK() and MATCH() combination. That of course work. &lt;STRONG&gt;But I was also told that second way is to add a calculated field to Master items.&lt;/STRONG&gt; I tried it, put it into Master items and wanted to refer to it when creating a new field but Qlik couldn't recognize this Master item.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;E.g.&lt;BR /&gt;[my_master_item]=123&amp;amp;'a'&lt;/P&gt;
&lt;P&gt;IF ([my_master_item] = 'xxx', 'OK','NOT OK') .... but my_master_item wasn't recognized. Here I expect to get result "NOT OK'&lt;/P&gt;
&lt;P&gt;Another option is to use function Column()....but this can be a problematic as I can easily change a column's order.&lt;/P&gt;
&lt;P&gt;Thanks a lot for help.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 11:24:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Referring-to-already-calculated-field-Master-items/m-p/2139348#M92600</guid>
      <dc:creator>Rudo6</dc:creator>
      <dc:date>2023-11-20T11:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Referring to already calculated field - Master items (?)</title>
      <link>https://community.qlik.com/t5/App-Development/Referring-to-already-calculated-field-Master-items/m-p/2139361#M92602</link>
      <description>&lt;P&gt;You can make reference to master &lt;STRONG&gt;measures&lt;/STRONG&gt; from another measure, though you'll need to make sure you don't end up with nonsense or nested aggregations.&lt;/P&gt;
&lt;P&gt;Alternatively, you can also use variables if you need to refer to the same calculation multiple times and would prefer to only maintain it once. Another alternative is to create the field in script and then you can just reference it as you would any other field. &lt;/P&gt;
&lt;P&gt;In the specific example above, it's unclear why you need anything in the first place since you're just adding 'a' to the end of a string, so a basic wildmatch() would work without needing to do that. I'm assuming the example doesn't actually reflect whatever it is you're trying to do.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 12:11:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Referring-to-already-calculated-field-Master-items/m-p/2139361#M92602</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-11-20T12:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Referring to already calculated field - Master items (?)</title>
      <link>https://community.qlik.com/t5/App-Development/Referring-to-already-calculated-field-Master-items/m-p/2139429#M92613</link>
      <description>&lt;P&gt;Thanks a lot for reply.&amp;nbsp; Tomorrow, I will try your ideas in practically:-)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Yes, above example is just testing if I can refer to already calculated item with its Label name .&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 14:39:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Referring-to-already-calculated-field-Master-items/m-p/2139429#M92613</guid>
      <dc:creator>Rudo6</dc:creator>
      <dc:date>2023-11-20T14:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Referring to already calculated field - Master items (?)</title>
      <link>https://community.qlik.com/t5/App-Development/Referring-to-already-calculated-field-Master-items/m-p/2139493#M92617</link>
      <description>&lt;P&gt;You can use a Master Measure by name in an expression. You cannot use a Master Dimension in an expression.&lt;/P&gt;
&lt;P&gt;You can refer to a chart Measure column by Column(n) or by the label of the chart column. Referring to the label addresses the problem of the column being rearranged.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 16:55:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Referring-to-already-calculated-field-Master-items/m-p/2139493#M92617</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2023-11-20T16:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Referring to already calculated field - Master items (?)</title>
      <link>https://community.qlik.com/t5/App-Development/Referring-to-already-calculated-field-Master-items/m-p/2139908#M92669</link>
      <description>&lt;P&gt;Thank you once again for your help. I tested it and it works. Unfortunately, as you wrote, I can refer only to Master measure and only in field that is also defined as measure.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One more question pls. What did you mean by this statement : "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Another alternative is to create the field in script and then you can just reference it as you would any other field.&lt;/STRONG&gt;&lt;/EM&gt;" I mean, what do you mean by "script" ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Have a fine rest of day.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 15:28:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Referring-to-already-calculated-field-Master-items/m-p/2139908#M92669</guid>
      <dc:creator>Rudo6</dc:creator>
      <dc:date>2023-11-21T15:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Referring to already calculated field - Master items (?)</title>
      <link>https://community.qlik.com/t5/App-Development/Referring-to-already-calculated-field-Master-items/m-p/2139951#M92675</link>
      <description>&lt;P&gt;Your script is where you load data. For example,&lt;/P&gt;
&lt;P&gt;Load Field1, Field2, Field3 &amp;amp; 'a' as NewField3&lt;/P&gt;
&lt;P&gt;From Sometable;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could then use NewField3 in calculations, same as any other field.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 17:25:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Referring-to-already-calculated-field-Master-items/m-p/2139951#M92675</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-11-21T17:25:00Z</dc:date>
    </item>
  </channel>
</rss>

