<?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: embedded expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/embedded-expressions/m-p/890093#M310153</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SUM({&amp;lt;Media ={"=SUM({1}Budget)&amp;gt;0"}&amp;gt;}Budget)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jul 2015 12:12:23 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2015-07-06T12:12:23Z</dc:date>
    <item>
      <title>embedded expressions</title>
      <link>https://community.qlik.com/t5/QlikView/embedded-expressions/m-p/890092#M310152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My task is to select all existing values of the field Media regardless of a user's selection and then inside this set of values I should select only those media whose Budget &amp;gt;0 and count them those media.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The first step is to get all media regardless of a user's choice:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Expression1: {Media=}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The second step &lt;SPAN style="font-size: 13.3333330154419px;"&gt;to get the media &lt;SPAN style="font-size: 13.3333330154419px;"&gt;whose Budget &amp;gt;0:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Expression2: &lt;/SPAN&gt;{&amp;lt;Media = {"=aggr(sum([Budget]), Media)&amp;gt;0"}&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Now I need to calculate expression 2 inside expression 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Intersection '*' doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please advise something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advacne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Larisa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 12:05:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/embedded-expressions/m-p/890092#M310152</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-06T12:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: embedded expressions</title>
      <link>https://community.qlik.com/t5/QlikView/embedded-expressions/m-p/890093#M310153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SUM({&amp;lt;Media ={"=SUM({1}Budget)&amp;gt;0"}&amp;gt;}Budget)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 12:12:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/embedded-expressions/m-p/890093#M310153</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-07-06T12:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: embedded expressions</title>
      <link>https://community.qlik.com/t5/QlikView/embedded-expressions/m-p/890094#M310154</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;Try like this&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; font-size: 13px;"&gt;{&amp;lt;Media = {"=aggr(sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt; {&amp;lt;Media=&amp;gt;}&lt;/SPAN&gt;[Budget]), Media)&amp;gt;0"}&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 12:13:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/embedded-expressions/m-p/890094#M310154</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2015-07-06T12:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: embedded expressions</title>
      <link>https://community.qlik.com/t5/QlikView/embedded-expressions/m-p/890095#M310155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can try this one&lt;/P&gt;&lt;P&gt;=count({&amp;lt;Media=&amp;gt;}aggr(if(sum({&amp;lt;Media=&amp;gt;}Budget)&amp;gt;0,only({&amp;lt;Media=&amp;gt;}Media)),Media))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 12:23:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/embedded-expressions/m-p/890095#M310155</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2015-07-06T12:23:03Z</dc:date>
    </item>
  </channel>
</rss>

