<?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: Expression Calculation Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453814#M434805</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The second dimension is still the issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Foundation_3 = 'VSI Bronze', 'VSI Bronze', If(Foundation_3 = 'VSI Silver', 'VSI Silver'))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Foundation_3 = 'VSI Bronze MEM' or Foundation_3= 'VSI Silver MEM'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Foundation_3 = 'VSI Bronze CPU' or Foundation_3 = 'VSI Silver CPU'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that I am not completely sure as to what is needed. Are you able to share a qvw to show what you are getting and what is that you want?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 Dec 2017 03:28:48 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-12-24T03:28:48Z</dc:date>
    <item>
      <title>Expression Calculation Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453806#M434797</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to calculate CPU and Memory amounts, and then sum the totals at the bottom of a straight table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As always, any and all help is appreciated.&amp;nbsp; Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 22:10:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453806#M434797</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2019-10-11T22:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Calculation Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453807#M434798</link>
      <description>&lt;P&gt;Here's some additional information that may assist anyone trying to help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following calculated dimensions that I label PRODUCT and PRODUCT CLASS, respectively:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 22:11:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453807#M434798</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2019-10-11T22:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Calculation Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453808#M434799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These expressions are contradicting your dimensions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For CPU &lt;STRONG&gt;=If(&lt;SPAN style="color: #ff0000;"&gt;Foundation_2 = 'VSI CPU'&lt;/SPAN&gt; and (&lt;SPAN style="color: #ff0000;"&gt;Foundation_3 = 'VSI Bronze CPU' or Foundation_3 = 'VSI Silver CPU'&lt;/SPAN&gt;), effective_item_qty * cpu_cores)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Memory &lt;STRONG&gt;=If(&lt;SPAN style="color: #ff0000;"&gt;Foundation_2 = 'VSI MEM'&lt;/SPAN&gt; and (&lt;SPAN style="color: #ff0000;"&gt;Foundation_3 = 'VSI Bronze MEM' or Foundation_3= 'VSI Silver MEM'&lt;/SPAN&gt;), effective_item_qty * cpu_cores)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimensions&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Foundation_2 = 'VSI Base', 'VSI Base')&lt;/STRONG&gt;&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(Foundation_3 = 'VSI Bronze', 'VSI Bronze', If(Foundation_3 = 'VSI Silver', 'VSI Silver'))&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;How do you think this will work if your dimensions is excluding those values you have in your expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Dec 2017 00:17:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453808#M434799</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-24T00:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Calculation Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453809#M434800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp; I'm not sure that I follow you.&amp;nbsp; One is supposed to be for when Foundation_2 = VSI CPU and the other is supposed to be for when Foundation_2 = VSI MEM.&amp;nbsp; Each then further broke down by Foundation_3 being Bronze or Silver MEM or CPU.&amp;nbsp; Does that make sense?&amp;nbsp; I have to exclude, for example, Foundation_3 = 'VSI Gold CPU' (that's another table specifically for VSI Gold CPU and no, I do not have that working yet.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, to answer your question, that's what I don't know (not a good answer on my part).&amp;nbsp; For the dimensions, I'm trying to limit the table to just items that have a Foundation_2 = 'VSI Base' and then just Foundation_3 = either 'VSI Bronze' or 'VSI Silver' and then calculate the CPUs and Memory.&amp;nbsp; When I &lt;STRONG&gt;don't&lt;/STRONG&gt; do the calculated dimensions and you choose the drop down arrow within the straight table for those columns, all available options within the data model show up, even though they are all not really available.&amp;nbsp; So, in short, with the calculated dimensions, I'm trying to just show what is available for the table.&amp;nbsp; Make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Dec 2017 00:33:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453809#M434800</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2017-12-24T00:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Calculation Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453810#M434801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your dimension is saying this&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=If(Foundation_2 = 'VSI Base', 'VSI Base')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and your expression is saying this&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;Foundation_2 = 'VSI CPU'&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you see the contradiction my friend?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Dec 2017 00:34:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453810#M434801</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-24T00:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Calculation Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453811#M434802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah ha!  I believe I do.  Let me make a change and see if it works.  The expression needs to match the calculated dimension I believe or vice-versa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Dec 2017 00:45:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453811#M434802</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2017-12-24T00:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Calculation Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453812#M434803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly because dimension is picking VSI Base, where as expression wants to pick VSI CPU. and in this case Dimension wins (because you might have selected 'Suppress When Value Is Null') so anything which is not VSI Base is just suppressed.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Dec 2017 00:48:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453812#M434803</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-24T00:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Calculation Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453813#M434804</link>
      <description>&lt;P&gt;Ok.&amp;nbsp; I’m missing something simple.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 22:12:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453813#M434804</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2019-10-11T22:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Calculation Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453814#M434805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The second dimension is still the issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Foundation_3 = 'VSI Bronze', 'VSI Bronze', If(Foundation_3 = 'VSI Silver', 'VSI Silver'))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Foundation_3 = 'VSI Bronze MEM' or Foundation_3= 'VSI Silver MEM'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Foundation_3 = 'VSI Bronze CPU' or Foundation_3 = 'VSI Silver CPU'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that I am not completely sure as to what is needed. Are you able to share a qvw to show what you are getting and what is that you want?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Dec 2017 03:28:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453814#M434805</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-24T03:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Calculation Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453815#M434806</link>
      <description>&lt;P&gt;Hello Sunny:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 22:13:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453815#M434806</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2019-10-11T22:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Calculation Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453816#M434807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did my previous reply make any sense to you?&amp;nbsp; If not, I can try to explain further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.&amp;nbsp; Happy Holidays!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Dec 2017 19:02:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453816#M434807</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2017-12-25T19:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Calculation Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453817#M434808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, if we go each chart at a time, do you know what are the numbers you expect to see in the first chart for example? I mean I am sort of not very clear as to what you are trying to convey here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;If you look at the first tab, VSI and VSI-D Forecast Readiness, I'm trying to calculate the number of CPU's and Memory amount for each row listed.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What you be able to convert the above def. into numerical terms. I know you have been providing a lot of details, but not sure why, but still having a lot of difficulty to understand what is needed here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2017 02:53:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453817#M434808</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-26T02:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Calculation Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453818#M434809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My apologies for the delay in responding.  I believe your initial assessment of the calculated dimensions conflicting with the expressions is what my problem is.  So, I’m in the process of changing the data model.  I’m not sure if it’s going to work or not, but we’ll see.  As always, thank you for your help and I’ll let you know how my changes go.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 23:47:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453818#M434809</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2017-12-27T23:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Calculation Help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453819#M434810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny (and Anyone Else Following this discussion):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I've solved the problem, but it took you (Sunny) to point it out.&amp;nbsp; In this case, I cannot have an item with three rows where the item_sku is the same.&amp;nbsp; It just won't work.&amp;nbsp; So, I eliminated the duplicate item_sku numbers, tweaked my calculated dimensions and expressions and viola!&amp;nbsp; I'm now getting what I was after which was a top 20 listing by quantity to include the associated CPU and Memory quantities.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks to Sunny for pointing out the conflicts I had between the calculated dimensions and expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sunny, I will mark your last response in that regard as the correct response,&amp;nbsp; As always my friend, thank you for your assistance.&amp;nbsp; It's always appreciated.&amp;nbsp; Happy Holidays!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 02:17:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Calculation-Help/m-p/1453819#M434810</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2017-12-28T02:17:38Z</dc:date>
    </item>
  </channel>
</rss>

