<?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 Force dimension into X-axis in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Force-dimension-into-X-axis/m-p/113328#M1800</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 two dimensions and a count(num), but i want to force one of the dimensions, period, into the X-axis (see screen attached). When i change the order of the dimensions, the y-axis switches position with the period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The period, as a column, it's not linked directly with a date calendar, but there's a date linked in both (calendar and period) tables. What i want to show is the period, and not the date linked.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Not sure if of any help for the purpose, but my master calendar looks like the below: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;source_dataset_counter has the period and date which is linked with the master calendar&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;examples: &lt;BR /&gt;period='2018_M01' , which is what i want to see in the x-axis&lt;BR /&gt;date_period='2018-01-01'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET varMinDate = NUM(PEEK('date_period',0,'source_dataset_counter'));&lt;/P&gt;&lt;P&gt;LET varMaxDate = NUM(PEEK('date_period',-1,'source_dataset_counter'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempCalendar:&amp;nbsp; &lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; &lt;/P&gt;&lt;P&gt;$(varMinDate) + Iterno()-1 As Num,&amp;nbsp; &lt;/P&gt;&lt;P&gt;Date($(varMinDate) + IterNo() - 1) as TempDate&amp;nbsp; &lt;/P&gt;&lt;P&gt;AutoGenerate 1 While $(varMinDate) + IterNo() -1 &amp;lt;= $(varMaxDate);&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Create the Master Calendar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MasterCalendar:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Date(TempDate, 'YYYY-MM-DD') AS Date,&lt;/P&gt;&lt;P&gt;WEEK(TempDate) AS Week,&lt;/P&gt;&lt;P&gt;YEAR(TempDate) AS Year,&lt;/P&gt;&lt;P&gt;NUM(MONTH(TempDate),'00') AS Month,&lt;/P&gt;&lt;P&gt;YEAR(TempDate)&amp;amp;'_'&amp;amp;'D'&amp;amp; DayNumberOfYear(TempDate) AS Day,&lt;/P&gt;&lt;P&gt;YEAR(TempDate)&amp;amp;'_'&amp;amp;'M'&amp;amp; NUM(MONTH(TempDate),'00') AS YearMonth,&lt;/P&gt;&lt;P&gt;'Q' &amp;amp; CEIL(MONTH(TempDate)/3)&amp;amp;'_'&amp;amp;YEAR(TempDate) AS QuarterYear,&lt;/P&gt;&lt;P&gt;YEAR(TempDate)&amp;amp;'_'&amp;amp;'W'&amp;amp; WEEK(TempDate) AS YearWeek,&lt;/P&gt;&lt;P&gt;WEEKDAY(TempDate) AS WeekDay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RESIDENT TempCalendar&lt;/P&gt;&lt;P&gt;Order BY TempDate ASC;&lt;/P&gt;&lt;P&gt;DROP Table TempCalendar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thank You so much,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; Regards, &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2018 09:23:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-07T09:23:59Z</dc:date>
    <item>
      <title>Force dimension into X-axis</title>
      <link>https://community.qlik.com/t5/Management-Governance/Force-dimension-into-X-axis/m-p/113328#M1800</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 two dimensions and a count(num), but i want to force one of the dimensions, period, into the X-axis (see screen attached). When i change the order of the dimensions, the y-axis switches position with the period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The period, as a column, it's not linked directly with a date calendar, but there's a date linked in both (calendar and period) tables. What i want to show is the period, and not the date linked.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Not sure if of any help for the purpose, but my master calendar looks like the below: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;source_dataset_counter has the period and date which is linked with the master calendar&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;examples: &lt;BR /&gt;period='2018_M01' , which is what i want to see in the x-axis&lt;BR /&gt;date_period='2018-01-01'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET varMinDate = NUM(PEEK('date_period',0,'source_dataset_counter'));&lt;/P&gt;&lt;P&gt;LET varMaxDate = NUM(PEEK('date_period',-1,'source_dataset_counter'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempCalendar:&amp;nbsp; &lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; &lt;/P&gt;&lt;P&gt;$(varMinDate) + Iterno()-1 As Num,&amp;nbsp; &lt;/P&gt;&lt;P&gt;Date($(varMinDate) + IterNo() - 1) as TempDate&amp;nbsp; &lt;/P&gt;&lt;P&gt;AutoGenerate 1 While $(varMinDate) + IterNo() -1 &amp;lt;= $(varMaxDate);&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Create the Master Calendar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MasterCalendar:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Date(TempDate, 'YYYY-MM-DD') AS Date,&lt;/P&gt;&lt;P&gt;WEEK(TempDate) AS Week,&lt;/P&gt;&lt;P&gt;YEAR(TempDate) AS Year,&lt;/P&gt;&lt;P&gt;NUM(MONTH(TempDate),'00') AS Month,&lt;/P&gt;&lt;P&gt;YEAR(TempDate)&amp;amp;'_'&amp;amp;'D'&amp;amp; DayNumberOfYear(TempDate) AS Day,&lt;/P&gt;&lt;P&gt;YEAR(TempDate)&amp;amp;'_'&amp;amp;'M'&amp;amp; NUM(MONTH(TempDate),'00') AS YearMonth,&lt;/P&gt;&lt;P&gt;'Q' &amp;amp; CEIL(MONTH(TempDate)/3)&amp;amp;'_'&amp;amp;YEAR(TempDate) AS QuarterYear,&lt;/P&gt;&lt;P&gt;YEAR(TempDate)&amp;amp;'_'&amp;amp;'W'&amp;amp; WEEK(TempDate) AS YearWeek,&lt;/P&gt;&lt;P&gt;WEEKDAY(TempDate) AS WeekDay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RESIDENT TempCalendar&lt;/P&gt;&lt;P&gt;Order BY TempDate ASC;&lt;/P&gt;&lt;P&gt;DROP Table TempCalendar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thank You so much,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; Regards, &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 09:23:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Force-dimension-into-X-axis/m-p/113328#M1800</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-07T09:23:59Z</dc:date>
    </item>
  </channel>
</rss>

