<?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: Swapping X and Y Axis on Graph in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Swapping-X-and-Y-Axis-on-Graph/m-p/32682#M781149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can share sample data, I may try to tweak the expression. I wouldn't be able to use qvw as its unfortunate Qlik doesn't allow to access qvw without license. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Mar 2018 00:10:21 GMT</pubDate>
    <dc:creator>Digvijay_Singh</dc:creator>
    <dc:date>2018-03-30T00:10:21Z</dc:date>
    <item>
      <title>Swapping X and Y Axis on Graph</title>
      <link>https://community.qlik.com/t5/QlikView/Swapping-X-and-Y-Axis-on-Graph/m-p/32678#M781145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently trying to manipulate a line graph I have in Qlikview, to show a bit differently than it currently does. More specifically, I am trying to display the expressions that are showing on the Y-Axis, to show on the X-Axis. I have attached an image to this post showing what I currently have, and what I am trying to work towards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Breaking it down, I have two dimensions (&lt;STRONG&gt;YYYYQ&lt;/STRONG&gt; and the &lt;STRONG&gt;week #&lt;/STRONG&gt; of the quarter). So for example, 201801 and the weeks 1-5. For my expressions, I have 5 (one expression for each week). The problem I have though, is that the expressions are loading vertically (on the y-axis), compared to what I want, horizontally (on the x-axis). What I would like to have, is each expression to show respectfully under its dimension name. For example, in the dimension field &lt;STRONG&gt;week # , Wk1&lt;/STRONG&gt;, I want it to hold the expression calculated for week 1. Same goes for 2, 3, 4 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, the trend line should represent the dimension field &lt;STRONG&gt;YYYYQ&lt;/STRONG&gt; (as can be seen in the attached image)&lt;STRONG&gt;. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I'm not really sure on how to write this out in set analysis. I've tried doing IF Statements but that only gives me one week of the quarter, and forgets the rest. Do I need to work with calculated dimensions here, or is there another way I can do this? &lt;/STRONG&gt;Is there a way I can set each week in &lt;STRONG&gt;week # &lt;/STRONG&gt;to equal a specific expression calculation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help!&lt;IMG alt="TABLE&amp;amp;amp;GRAPH REF.PNG" class="jive-image image-1" src="/legacyfs/online/197950_TABLE&amp;amp;GRAPH REF.PNG" style="height: 264px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Swapping-X-and-Y-Axis-on-Graph/m-p/32678#M781145</guid>
      <dc:creator>data_guru_001</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Swapping X and Y Axis on Graph</title>
      <link>https://community.qlik.com/t5/QlikView/Swapping-X-and-Y-Axis-on-Graph/m-p/32679#M781146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your dimension values are limited, lets say 5, you may like to use synthetic dimension like below -&lt;/P&gt;&lt;P&gt;Valuelist('Wk1','Wk2','Wk3','Wk4','Wk5')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and your 5 expressions in the measure like this - &lt;/P&gt;&lt;P&gt;Pick(Match(Valuelist('Wk1','Wk2','Wk3','Wk4','Wk5'),'Wk1','Wk2','Wk3','Wk4','Wk5'),&lt;/P&gt;&lt;P&gt;Expressionforweek1,&lt;/P&gt;&lt;P&gt;Expressionforweek2,&lt;/P&gt;&lt;P&gt;Expressionforweek3,&lt;/P&gt;&lt;P&gt;Expressionforweek4,&lt;/P&gt;&lt;P&gt;Expressionforweek5)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 18:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Swapping-X-and-Y-Axis-on-Graph/m-p/32679#M781146</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2018-03-29T18:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Swapping X and Y Axis on Graph</title>
      <link>https://community.qlik.com/t5/QlikView/Swapping-X-and-Y-Axis-on-Graph/m-p/32680#M781147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Digvijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response. Your answer got me closer to what I'm looking for, but still not there yet. Using Pick/Match does give me the correct values when I select on that specific week number, but upon selecting say WK1 &amp;amp; WK 2 the values come back broken. I attached an image for your reference down below. What I'm working towards, is if I'm on WK1 &amp;amp; WK2 it should still hold those values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="TABLE&amp;amp;amp;GRAPH REF.PNG" class="jive-image image-1" src="/legacyfs/online/197973_TABLE&amp;amp;GRAPH REF.PNG" style="height: 311px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 22:57:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Swapping-X-and-Y-Axis-on-Graph/m-p/32680#M781147</guid>
      <dc:creator>data_guru_001</dc:creator>
      <dc:date>2018-03-29T22:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Swapping X and Y Axis on Graph</title>
      <link>https://community.qlik.com/t5/QlikView/Swapping-X-and-Y-Axis-on-Graph/m-p/32681#M781148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share dimension and expression you have used? Does Quarter Year represent &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Valuelist('Wk1','Wk2','Wk3','Wk4','Wk5') or its a different dimension?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 00:08:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Swapping-X-and-Y-Axis-on-Graph/m-p/32681#M781148</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2018-03-30T00:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Swapping X and Y Axis on Graph</title>
      <link>https://community.qlik.com/t5/QlikView/Swapping-X-and-Y-Axis-on-Graph/m-p/32682#M781149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can share sample data, I may try to tweak the expression. I wouldn't be able to use qvw as its unfortunate Qlik doesn't allow to access qvw without license. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 00:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Swapping-X-and-Y-Axis-on-Graph/m-p/32682#M781149</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2018-03-30T00:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Swapping X and Y Axis on Graph</title>
      <link>https://community.qlik.com/t5/QlikView/Swapping-X-and-Y-Axis-on-Graph/m-p/32683#M781150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Digvijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No problem. Quarter Year, or &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;YYYYQ&lt;/STRONG&gt;, represents the current year, and current quarter. For example, 201704, 201801, 201802, 201803, etc. This is not having any impact on the problem however.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem lies with my 2nd dimension, &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;week #&lt;/STRONG&gt; (WK1, WK2, WK3, WK4, WK5). As you may already know from my post above, the problem is that when I select more than one week, the values become distorted and incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I cannot attach my exact expression syntax to this chain for proprietary reasons, but I did modify it to have the same idea behind it, and attached below. Essentially, in the match function looking at "1" the expression is if WK1 amt is greater than WK2 amt, take WK1 - WK2, otherwise 0. In the match function looking at '2', it would be if WK1 amt is greater than WK3 amt, take WK1 - WK3, otherwise 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, pick match does work when filtering on that specific week, but when I filter on more than one week, and in the&amp;nbsp; &lt;STRONG&gt;week #&lt;/STRONG&gt; field multiple wks start to show, it doesn't sum all the numbers together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPRESSION (just testing with wks 1 &amp;amp; 2 right now)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Pick&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: 'Helvetica',sans-serif;"&gt;week #&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,'1','2'),&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: 'Helvetica',sans-serif;"&gt;week #&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'2'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&lt;BR /&gt; &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: 'Helvetica',sans-serif;"&gt;week #&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'1'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&lt;BR /&gt; ,&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: 'Helvetica',sans-serif;"&gt;week #&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'1'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&lt;BR /&gt; - &lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: 'Helvetica',sans-serif;"&gt;week #&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'2'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;),0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: 'Helvetica',sans-serif;"&gt;week #&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'3'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&lt;BR /&gt; &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: 'Helvetica',sans-serif;"&gt;week #&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'1'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&lt;BR /&gt; ,&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: 'Helvetica',sans-serif;"&gt;week #&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'1'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&lt;BR /&gt; - &lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: 'Helvetica',sans-serif;"&gt;week #&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'3'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;),0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again for all your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 00:51:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Swapping-X-and-Y-Axis-on-Graph/m-p/32683#M781150</guid>
      <dc:creator>data_guru_001</dc:creator>
      <dc:date>2018-03-30T00:51:02Z</dc:date>
    </item>
  </channel>
</rss>

