<?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: Trouble creating pivot chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trouble-creating-pivot-chart/m-p/636215#M233329</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May you attach your script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jun 2014 21:27:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-02T21:27:33Z</dc:date>
    <item>
      <title>Trouble creating pivot chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-creating-pivot-chart/m-p/636212#M233326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have data coming in that needs to be distinguished by the cust id and some other criteria.&lt;/P&gt;&lt;P&gt;I basically want my qlikview document to look like this:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 708px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="1"&gt;&lt;/TD&gt;&lt;TD colspan="1"&gt;&lt;/TD&gt;&lt;TD colspan="1"&gt;&lt;/TD&gt;&lt;TD colspan="1"&gt;Q114&lt;/TD&gt;&lt;TD colspan="1"&gt;&lt;/TD&gt;&lt;TD colspan="1"&gt;&lt;/TD&gt;&lt;TD colspan="1"&gt;&lt;/TD&gt;&lt;TD colspan="1"&gt;Q413&lt;/TD&gt;&lt;TD colspan="1"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;&lt;/TD&gt;&lt;TD class="xl64" width="164"&gt;&lt;/TD&gt;&lt;TD class="xl65" width="96"&gt;&lt;P&gt;CN&lt;/P&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;EN&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;Total&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;CN&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;EN&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;Total&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19"&gt;&lt;/TD&gt;&lt;TD class="xl64"&gt;&lt;/TD&gt;&lt;TD class="xl67"&gt;&lt;/TD&gt;&lt;TD class="xl67"&gt;&lt;/TD&gt;&lt;TD class="xl67"&gt;&lt;/TD&gt;&lt;TD class="xl67"&gt;&lt;/TD&gt;&lt;TD class="xl67"&gt;&lt;/TD&gt;&lt;TD class="xl67"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" colspan="2" height="19"&gt;Sally James&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;20,167&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;3,290&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;23,457&lt;/TD&gt;&lt;TD class="xl67"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;17,094&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;2,129&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;19,223&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" colspan="2" height="19"&gt;Sally James thru POS&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;385&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;372&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;757&lt;/TD&gt;&lt;TD class="xl70"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;842&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;1,009&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;1,850&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" colspan="2" height="19"&gt;Jimmy Brown&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;8,315&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;1,149&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;9,464&lt;/TD&gt;&lt;TD class="xl67"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;4,757&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;2,233&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;6,990&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" colspan="2" height="19"&gt;Jimmy Brown thru POS&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;109&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;81&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;190&lt;/TD&gt;&lt;TD class="xl70"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;220&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;222&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" colspan="2" height="19"&gt;Danielle Jenkins&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;1,579&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;135&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;1,714&lt;/TD&gt;&lt;TD class="xl67"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;3,835&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;224&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;4,059&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" colspan="2" height="19"&gt;Danielle Jenkins thru POS&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;66&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;115&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;181&lt;/TD&gt;&lt;TD class="xl70"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;21&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;140&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;&lt;P&gt;160&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" colspan="2" height="19"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;&lt;/TD&gt;&lt;TD class="xl70"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" colspan="2" height="19"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;&lt;/TD&gt;&lt;TD class="xl70"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl70"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;To get &lt;STRONG&gt;Sally James&lt;/STRONG&gt; I have the following as a dimension:&lt;/P&gt;&lt;P&gt;=if((Match([Res ID],'100529','400068','104198','609022') or [Res Direct Grandparent ID]='CTL01') and [Disti LOB]=39,'Sally James')&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sally James thru POS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=if((Match([Res ID],'100529','400068','104198','609022') or [Res Direct Grandparent ID]='CTL01') and [Disti LOB]&amp;lt;&amp;gt;39,'Sally James thru POS')&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jimmy Brown&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=if((Match([Res ID],'100522','603207','608094') or [Res Direct Grandparent ID]='VRZ01') and [Disti LOB]=39,'Jimmy Brown')&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jimmy Brown thru POS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=if((Match([Res ID],'100522','603207','608094') or [Res Direct Grandparent ID]='VRZ01') and [Disti LOB]&amp;lt;&amp;gt;39,'Jimmy Brown thru POS')&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Danielle Jenkins&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=if((Match([Res ID],'102786','104805','608095', '609482') or [Res Direct Grandparent ID]='ATT01') and [Disti LOB]=39,'Danielle Jenkins')&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Danielle Jenkins thru POS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=if((Match([Res ID],'102786','104805','608095', '609482') or [Res Direct Grandparent ID]='ATT01') and [Disti LOB]&amp;lt;&amp;gt;39,'Danielle Jenkins thru POS')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried setting up a group with each of these as dimensions but I can't get them all to show up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My pivot table has dimensions&lt;/P&gt;&lt;P&gt;calculated dimension,&lt;/P&gt;&lt;P&gt;Year_Quarter&lt;/P&gt;&lt;P&gt;Division&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expression is the following:&lt;/P&gt;&lt;P&gt;=round(sum({&amp;lt;[CTA Duplicate]={'No'},[Res Location]={'DOM'}&amp;gt;}$(vExtEffCommPrice))/1000)&lt;/P&gt;&lt;P&gt;not sure how I can get each of these dimensions to display like the example&lt;/P&gt;&lt;P&gt;any suggestions????????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Michelle Malone&#xD;
&#xD;
I have added the script file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 19:09:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-creating-pivot-chart/m-p/636212#M233326</guid>
      <dc:creator />
      <dc:date>2014-06-02T19:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble creating pivot chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-creating-pivot-chart/m-p/636213#M233327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to prepare your dimension with names in load script!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 20:23:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-creating-pivot-chart/m-p/636213#M233327</guid>
      <dc:creator />
      <dc:date>2014-06-02T20:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble creating pivot chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-creating-pivot-chart/m-p/636214#M233328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I put the following in my load statement but I don't seem to have any data appearing in Domestic Tier 1.&lt;/P&gt;&lt;P&gt;Did I do the if conditions wrong???&lt;/P&gt;&lt;P&gt;if ((Match([Res ID],'100529','400068','104198','609022') or [Res Direct Grandparent ID]='CTL01') and [Disti LOB]=39,'Centurylink'), if((Match([Res ID],'100529','400068','104198','609022') or [Res Direct Grandparent ID]='CTL01') and [Disti LOB]&amp;lt;&amp;gt;39,'Centurylink thru POS'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if((Match([Res ID],'100522','603207','608094') or [Res Direct Grandparent ID]='VRZ01') and [Disti LOB]=39,'Verizon'), if((Match([Res ID],'100522','603207','608094') or [Res Direct Grandparent ID]='VRZ01') and [Disti LOB]&amp;lt;&amp;gt;39,'Verizon thru POS'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if((Match([Res ID],'102786','104805','608095', '609482') or [Res Direct Grandparent ID]='ATT01') and [Disti LOB]=39,'AT&amp;amp;T'), if((Match([Res ID],'102786','104805','608095', '609482') or [Res Direct Grandparent ID]='ATT01') and [Disti LOB]&amp;lt;&amp;gt;39,'AT&amp;amp;T thru POS') as [Domestic Tier 1]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 21:24:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-creating-pivot-chart/m-p/636214#M233328</guid>
      <dc:creator />
      <dc:date>2014-06-02T21:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble creating pivot chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-creating-pivot-chart/m-p/636215#M233329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May you attach your script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 21:27:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-creating-pivot-chart/m-p/636215#M233329</guid>
      <dc:creator />
      <dc:date>2014-06-02T21:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble creating pivot chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-creating-pivot-chart/m-p/636216#M233330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See initial post; I attached the script file there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 21:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-creating-pivot-chart/m-p/636216#M233330</guid>
      <dc:creator />
      <dc:date>2014-06-02T21:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble creating pivot chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-creating-pivot-chart/m-p/636217#M233331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all, i'am sure, that there is something not right with brackets in your nested if.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your condition should look like this:&lt;/P&gt;&lt;P&gt;if(cond1,if(cond2,result12,result13),result4) as some_column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will give you as result result12 if condition 1 and condition2 is met, result13 if condition1 is met but condition2 is not true, result4 - if conditio1 is not true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to simplify your if for the beggining. Do only first, then, if first will be ok, add next, etc.&lt;/P&gt;&lt;P&gt;When you put your coursor near some bracket, editor will show you it, and its pair in red. This helps to check if pairs are where you expect it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 22:05:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-creating-pivot-chart/m-p/636217#M233331</guid>
      <dc:creator />
      <dc:date>2014-06-02T22:05:03Z</dc:date>
    </item>
  </channel>
</rss>

