<?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: Please help with expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514624#M749123</link>
    <description>&lt;P&gt;I think the only way to hide expressions in a bar chart is by ticking the 'invisible' checkbox in the expression tab and hiding the label in the axis tab, but this will still leave empty spaces where the bars would be. So I think the only way to solve this would be to use the expressions you used to get to Weekdays and Weekend:&lt;BR /&gt;&lt;BR /&gt;(WeekdayExpression) + (WeekendExpression)&lt;BR /&gt;&lt;BR /&gt;If your expressions are very long, you could always store them in a variable and make it:&lt;BR /&gt;&lt;BR /&gt;($(vWeekdayExpression)) + ($(vWeekendExpression))&lt;/P&gt;</description>
    <pubDate>Fri, 30 Nov 2018 06:55:57 GMT</pubDate>
    <dc:creator>jensmunnichs</dc:creator>
    <dc:date>2018-11-30T06:55:57Z</dc:date>
    <item>
      <title>Please help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514263#M749118</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 487px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/1288iB6AA080A6DA58690/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;How to get the row-wise total in above table&lt;/P&gt;&lt;P&gt;Ex: for first row 12:00 - 2:59 am , total row value 188(Weekday)+450(weekend) = 638.&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514263#M749118</guid>
      <dc:creator>priya945</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514275#M749119</link>
      <description>&lt;P&gt;Add another expression:&lt;/P&gt;&lt;P&gt;Column(1) + Column(2)&lt;/P&gt;&lt;P&gt;Note that you might have to adjust the 1 or 2 based on how many measures you have and where they are located, this is just based on the table in the image you posted.&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/InterRecordFunctions/column.htm" target="_self"&gt;More info on Column function&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-Creating-Analytics/Use-Value-of-Expression-for-another-Expression/td-p/757763" target="_self"&gt;Some other ways to solve this problem in this thread&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 13:25:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514275#M749119</guid>
      <dc:creator>jensmunnichs</dc:creator>
      <dc:date>2018-11-29T13:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514323#M749120</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for your suggestion.&lt;/P&gt;&lt;P&gt;Could you please help me how to find the&amp;nbsp; same in Bar chart&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 14:32:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514323#M749120</guid>
      <dc:creator>priya945</dc:creator>
      <dc:date>2018-11-29T14:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514328#M749121</link>
      <description>I'm pretty sure you can do the same thing in a bar chart. Another option would be to label the expressions you use to find Weekday and Weekend, then use those names in the third expression (in this case simply Weekday + Weekend)</description>
      <pubDate>Thu, 29 Nov 2018 14:40:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514328#M749121</guid>
      <dc:creator>jensmunnichs</dc:creator>
      <dc:date>2018-11-29T14:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514340#M749122</link>
      <description>&lt;P&gt;Agreed that if I am using 3 expressions I am able to&amp;nbsp;plot bar chart but if the requirement is to show only &amp;nbsp;(Weekday + Weekend) expression as below then this is change&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 643px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/1298iAA0205347D96D45D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 15:02:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514340#M749122</guid>
      <dc:creator>priya945</dc:creator>
      <dc:date>2018-11-29T15:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514624#M749123</link>
      <description>&lt;P&gt;I think the only way to hide expressions in a bar chart is by ticking the 'invisible' checkbox in the expression tab and hiding the label in the axis tab, but this will still leave empty spaces where the bars would be. So I think the only way to solve this would be to use the expressions you used to get to Weekdays and Weekend:&lt;BR /&gt;&lt;BR /&gt;(WeekdayExpression) + (WeekendExpression)&lt;BR /&gt;&lt;BR /&gt;If your expressions are very long, you could always store them in a variable and make it:&lt;BR /&gt;&lt;BR /&gt;($(vWeekdayExpression)) + ($(vWeekendExpression))&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 06:55:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514624#M749123</guid>
      <dc:creator>jensmunnichs</dc:creator>
      <dc:date>2018-11-30T06:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514635#M749124</link>
      <description>&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;Could you please guide me if I can achieve the same i.e Weekday + Weekend value in the script&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 07:15:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514635#M749124</guid>
      <dc:creator>priya945</dc:creator>
      <dc:date>2018-11-30T07:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514636#M749125</link>
      <description>What expressions do you use to calculate Weekday and Weekend?&lt;BR /&gt;&lt;BR /&gt;Also can you please provide a sample of your data and possibly your application, that would really speed things up.</description>
      <pubDate>Fri, 30 Nov 2018 07:18:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514636#M749125</guid>
      <dc:creator>jensmunnichs</dc:creator>
      <dc:date>2018-11-30T07:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514643#M749126</link>
      <description>&lt;P&gt;Thanks for your time. I have achieved the requirement in script using below but looking for any optimized(better) than below. This way&amp;nbsp;I have to load the same table several times based on number of filed to concatenate into one(New)&lt;BR /&gt;&lt;BR /&gt;Exercise:&lt;BR /&gt;LOAD [Time of Day],&lt;BR /&gt;Weekday,&lt;BR /&gt;Weekday as New&lt;BR /&gt;&lt;BR /&gt;FROM [....\Book1.xlsx]&lt;BR /&gt;Concatenate&lt;BR /&gt;LOAD [Time of Day],&lt;BR /&gt;Weekend as New,&lt;BR /&gt;Weekend&lt;BR /&gt;FROM [....\Book1.xlsx]&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 07:33:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514643#M749126</guid>
      <dc:creator>priya945</dc:creator>
      <dc:date>2018-11-30T07:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514651#M749127</link>
      <description>Still would help a lot if you could provide your application and/or a sample of your data as I'm a bit confused about your requirement.</description>
      <pubDate>Fri, 30 Nov 2018 07:39:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514651#M749127</guid>
      <dc:creator>jensmunnichs</dc:creator>
      <dc:date>2018-11-30T07:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514665#M749128</link>
      <description>Here is my data and requirement is to create a bar chart with value(Weekday + Weekend ).&lt;BR /&gt;&lt;BR /&gt;Time of Day Weekday Weekend&lt;BR /&gt;12:00-2:59 a.m 188 450&lt;BR /&gt;3:00-5:59 a.m 142 211&lt;BR /&gt;6:00-8:59 a.m 346 63&lt;BR /&gt;9:00-11:59 a.m 281 96&lt;BR /&gt;12:00-2:59 p.m 382 98&lt;BR /&gt;3:00-5:59 p.m 601 159&lt;BR /&gt;6:00-8:59 p.m 694 665&lt;BR /&gt;9:00-11:59 p.m 470 592&lt;BR /&gt;&lt;BR /&gt;I have achieved the requirement in script using below and in the frontend I have used&lt;BR /&gt;Dimension as [Time of Day],&lt;BR /&gt;Expression as Sum(New)&lt;BR /&gt;&lt;BR /&gt;Exercise:&lt;BR /&gt;LOAD [Time of Day],&lt;BR /&gt;Weekday,&lt;BR /&gt;Weekday as New&lt;BR /&gt;FROM [....\Book1.xlsx]&lt;BR /&gt;&lt;BR /&gt;Concatenate&lt;BR /&gt;&lt;BR /&gt;LOAD [Time of Day],&lt;BR /&gt;Weekend as New,&lt;BR /&gt;Weekend&lt;BR /&gt;FROM [....\Book1.xlsx]&lt;BR /&gt;&lt;BR /&gt;But using above approach I have to load the same table several times based on number of fields to concatenate into one(New) field. so suggest any better approach for below data&lt;BR /&gt;&lt;BR /&gt;Time of Day Weekday Weekend WeekMid&lt;BR /&gt;12:00-2:59 a.m 188 450 12&lt;BR /&gt;3:00-5:59 a.m 142 211 34&lt;BR /&gt;6:00-8:59 a.m 346 63 56&lt;BR /&gt;9:00-11:59 a.m 281 96 65&lt;BR /&gt;12:00-2:59 p.m 382 98 34&lt;BR /&gt;3:00-5:59 p.m 601 159 76&lt;BR /&gt;6:00-8:59 p.m 694 665 23&lt;BR /&gt;9:00-11:59 p.m 470 592 87&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Nov 2018 08:15:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514665#M749128</guid>
      <dc:creator>priya945</dc:creator>
      <dc:date>2018-11-30T08:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514676#M749129</link>
      <description>&lt;P&gt;If all of your data is in the same Excel file, you can just load the fields at the same time. Not really sure why you need the 'New' field.&lt;/P&gt;&lt;P&gt;LOAD [Time of Day], Weekday, Weekend //, WeekMid, etc.&lt;BR /&gt;&lt;SPAN&gt;FROM [....\Book1.xlsx];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Bar chart:&lt;BR /&gt;Dimension: [Time of Day]&lt;BR /&gt;Expression:&amp;nbsp;Sum(Weekday) + Sum(Weekend)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 08:32:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514676#M749129</guid>
      <dc:creator>jensmunnichs</dc:creator>
      <dc:date>2018-11-30T08:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514681#M749130</link>
      <description>&lt;P&gt;Thanks for the suggestion that using Sum(Weekday) + Sum(Weekend) in bar chart could solve the issue. But what if I want to achieve the same in the script i.e by concatenate all the values into one filed and use that field in the front end as Sum(newfield)&lt;/P&gt;&lt;P&gt;how to achieve below in script&lt;/P&gt;&lt;P&gt;Newfield = Weekday + Weekend+Weekmid&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 08:42:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514681#M749130</guid>
      <dc:creator>priya945</dc:creator>
      <dc:date>2018-11-30T08:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514693#M749131</link>
      <description>&lt;P&gt;Well, if you only need the sum of those 2 and don't care about the Weekday/Weekend distinction, you could simply do the calculation in script:&lt;/P&gt;&lt;P&gt;Temp:&lt;BR /&gt;LOAD [Time of Day], Weekday, Weekend //, WeekMid, etc.&lt;BR /&gt;FROM [....\Book1.xlsx];&lt;/P&gt;&lt;P&gt;Final:&lt;BR /&gt;LOAD [Time of Day], Weekday + Weekend as Week&lt;BR /&gt;Resident Temp;&lt;/P&gt;&lt;P&gt;Drop table Temp;&lt;/P&gt;&lt;P&gt;Then you can simply do Sum(Week) with [Time of Day] as dimension to create your bar chart.&lt;/P&gt;&lt;P&gt;If you DO want to keep the distinction, you could use the &lt;A href="https://help.qlik.com/nl-NL/qlikview/November2017/Subsystems/Client/Content/Scripting/ScriptPrefixes/crosstable.htm" target="_self"&gt;crosstable prefix&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;Crosstable(WeekType, Value, 1) LOAD [Time of Day], Weekday, Weekend //, WeekMid, etc.&lt;BR /&gt;FROM [....\Book1.xlsx];&lt;/P&gt;&lt;P&gt;This will create a field called 'WeekType' with values like Weekday, Weekend (WeekMid, whatever else you add), and a field called 'Value' with all the values under Weekday and Weekend. The 1 indicates the amount of fields from the left that should stay as they are, in this case only [Time of Day].&lt;/P&gt;&lt;P&gt;Your bar chart will then have Sum(Value) as expression and [Time of Day] as dimension, and you will still be able to use set analysis to create the distinction between Weekday and Weekend. So in your original post the Weekday column would use Sum({&amp;lt;WeekType = {"Weekday"}&amp;gt;} Value) as its expression.&lt;/P&gt;&lt;P&gt;Hope this helps, if you have any more questions let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 08:56:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514693#M749131</guid>
      <dc:creator>jensmunnichs</dc:creator>
      <dc:date>2018-11-30T08:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514719#M749132</link>
      <description>Thanks a lot for your time.&lt;BR /&gt;Crosstable could be possible solution but just want to enhance my knowledge, what point here made you to think of crosstable .&lt;BR /&gt;Please suggest&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Nov 2018 09:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514719#M749132</guid>
      <dc:creator>priya945</dc:creator>
      <dc:date>2018-11-30T09:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514731#M749133</link>
      <description>&lt;P&gt;The &lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ScriptPrefixes/crosstable.htm" target="_self"&gt;crosstable prefix&lt;/A&gt; (just realised I used the dutch link in my last post) allows you to restructure your data, usually turning a wide table into a long (vertical) table. The reason why it works here is because it places all the values into a single field, as you wanted, while still allowing you to make a distinction between the different types of value.&lt;/P&gt;&lt;P&gt;As you use Qlikview more you'll realise there are times that this prefix can be very useful. Take a look at &lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/The-Crosstable-Load/ba-p/1468083" target="_self"&gt;this blog&lt;/A&gt;, it explains things a lot better than I ever could. If you want to learn more about Qlikview development, I definitely recommend reading some more blogs by Hic as they're all incredibly useful.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 10:00:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514731#M749133</guid>
      <dc:creator>jensmunnichs</dc:creator>
      <dc:date>2018-11-30T10:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514735#M749134</link>
      <description>Once again thanks a lot for your time</description>
      <pubDate>Fri, 30 Nov 2018 10:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-with-expression/m-p/1514735#M749134</guid>
      <dc:creator>priya945</dc:creator>
      <dc:date>2018-11-30T10:02:41Z</dc:date>
    </item>
  </channel>
</rss>

