<?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: Problem using the same field in set analysis and conditional? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-using-the-same-field-in-set-analysis-and-conditional/m-p/924224#M987153</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! but it didn't work. It's the same with or without total&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jul 2015 19:36:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-07-31T19:36:36Z</dc:date>
    <item>
      <title>Problem using the same field in set analysis and conditional?</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-the-same-field-in-set-analysis-and-conditional/m-p/924222#M987151</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 have this calculated value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(SUM({&amp;lt;AGRUPA_CONCEPTO={BONIFICACIONES_TOTAL}&amp;gt;}VALOR)/1000)/(SUM({&amp;lt;CONCEPTO = {GROSS_SALES} &amp;gt;}VALOR) / 1000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it's working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i try to do this it doesn't work. I don't know why. It doesn't show the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (&lt;SPAN style="font-size: 13.3333330154419px;"&gt;AGRUPA_CONCEPTO&lt;/SPAN&gt;= 'POR_BONIF',&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;(SUM({&amp;lt;AGRUPA_CONCEPTO={BONIFICACIONES_TOTAL}&amp;gt;}VALOR)/1000)/(SUM({&amp;lt;CONCEPTO = {GROSS_SALES} &amp;gt;}VALOR) / 1000)&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;SUM(VALOR) / 1000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is because i'm using the same field in the set analysis and in the if conditional? I used this with an 1 and it works. Do you know why this isn't working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 19:30:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-the-same-field-in-set-analysis-and-conditional/m-p/924222#M987151</guid>
      <dc:creator />
      <dc:date>2015-07-31T19:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using the same field in set analysis and conditional?</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-the-same-field-in-set-analysis-and-conditional/m-p/924223#M987152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(CONCEPTO = 'POR_BONIF',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;(SUM({&amp;lt;AGRUPA_CONCEPTO={BONIFICACIONES_TOTAL}&amp;gt;}VALOR)/1000)/(SUM(&lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt; {&amp;lt;CONCEPTO = {GROSS_SALES} &amp;gt;}VALOR) / 1000)&lt;/SPAN&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;SUM(VALOR) / 1000)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 19:32:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-the-same-field-in-set-analysis-and-conditional/m-p/924223#M987152</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-31T19:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using the same field in set analysis and conditional?</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-the-same-field-in-set-analysis-and-conditional/m-p/924224#M987153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! but it didn't work. It's the same with or without total&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 19:36:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-the-same-field-in-set-analysis-and-conditional/m-p/924224#M987153</guid>
      <dc:creator />
      <dc:date>2015-07-31T19:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using the same field in set analysis and conditional?</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-the-same-field-in-set-analysis-and-conditional/m-p/924225#M987154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you seeing 0 or - when you use your expression?? Can you try them as two separate expressions and see which one isn't working??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(CONCEPTO = 'POR_BONIF', &lt;/STRONG&gt;&lt;STRONG style="font-size: 13.3333330154419px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;(Sum({&amp;lt;AGRUPA_CONCEPTO={BONIFICACIONES_TOTAL}&amp;gt;}VALOR)/1000))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(CONCEPTO = 'POR_BONIF', &lt;/STRONG&gt;&lt;STRONG style="font-size: 13.3333330154419px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;(Sum(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333320617676px; font-family: inherit; color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt;{&amp;lt;CONCEPTO = {GROSS_SALES} &amp;gt;}VALOR) / 1000))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;See which one isn't working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 19:38:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-the-same-field-in-set-analysis-and-conditional/m-p/924225#M987154</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-31T19:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using the same field in set analysis and conditional?</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-the-same-field-in-set-analysis-and-conditional/m-p/924226#M987155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see 0 or -.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;directly i don't see the dimmension '&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;POR_BONIF' &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;I see only the else, the '&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit; color: #3d3d3d;"&gt;VALOR)/1000)'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 19:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-the-same-field-in-set-analysis-and-conditional/m-p/924226#M987155</guid>
      <dc:creator />
      <dc:date>2015-07-31T19:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using the same field in set analysis and conditional?</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-the-same-field-in-set-analysis-and-conditional/m-p/924227#M987156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don' see the the dimension '&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;POR_BONIF&lt;/STRONG&gt;'?? Why not?? I don't really undertand the issue here, can you share a screenshot of what you are seeing???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 19:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-the-same-field-in-set-analysis-and-conditional/m-p/924227#M987156</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-31T19:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using the same field in set analysis and conditional?</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-the-same-field-in-set-analysis-and-conditional/m-p/924228#M987157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If BONIFICACIONES_TOTAL and GROSS_SALES are Fields try to use P() in Set Analysis&lt;/P&gt;&lt;P&gt;AGRUPTA_CONCEPTO=P(BONIFICACIONES_TOTAL)&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;CONCEPTO=P(GROSS_SALES)&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 19:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-the-same-field-in-set-analysis-and-conditional/m-p/924228#M987157</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2015-07-31T19:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using the same field in set analysis and conditional?</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-the-same-field-in-set-analysis-and-conditional/m-p/924229#M987158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The field POR_BONIF. yeah, i don't see it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because the first part of the expression isn't working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 20:01:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-the-same-field-in-set-analysis-and-conditional/m-p/924229#M987158</guid>
      <dc:creator />
      <dc:date>2015-07-31T20:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using the same field in set analysis and conditional?</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-the-same-field-in-set-analysis-and-conditional/m-p/924230#M987159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So this expression isn't working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;If(CONCEPTO = 'POR_BONIF',&lt;/STRONG&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit; color: #3d3d3d;"&gt;&lt;STRONG&gt;(Sum({&amp;lt;AGRUPA_CONCEPTO={BONIFICACIONES_TOTAL}&amp;gt;}VALOR)/1000))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 20:02:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-the-same-field-in-set-analysis-and-conditional/m-p/924230#M987159</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-31T20:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using the same field in set analysis and conditional?</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-the-same-field-in-set-analysis-and-conditional/m-p/924231#M987160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you send us a sample of your data??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 20:15:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-the-same-field-in-set-analysis-and-conditional/m-p/924231#M987160</guid>
      <dc:creator>maximiliano_vel</dc:creator>
      <dc:date>2015-07-31T20:15:50Z</dc:date>
    </item>
  </channel>
</rss>

