<?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: Count minutes per Day/hour/Month,etc in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406282#M32846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, If I display the pivot table per day, I want to see 1440 (as it's the total of minutes in one day). If I display it per Year-Month, I want to see &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;43200 (as it's the total of minutes in one Year-Month). If I display the table per Hour and I filter, for example 7AM and two days, I want to see 120 (60 minutes per two days at 7AM). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I hope I explaining clear enough....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thank you!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regards, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Jordi&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Dec 2017 17:12:44 GMT</pubDate>
    <dc:creator>jorditorras</dc:creator>
    <dc:date>2017-12-14T17:12:44Z</dc:date>
    <item>
      <title>Count minutes per Day/hour/Month,etc</title>
      <link>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406280#M32844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gurus, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm struggling to find a calculation that seems easy but I cannot find our how to reach it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table with some Time dimensions (Month, Day, hours, etc) and some KPI's. I would like to add one KPI in this table to show me the total of minutes of my time selection. So, If I select "Day", I'd see in each colum: 1440 (24hours x 60 minutes). If I select Hour, I'd have to see 60*Number of selected Days. If I select Month, I'd have to see 43200 (30days -if that month has 30 days- x 24 hours x 60 minutes). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I reach this calculation? Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Jordi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 16:53:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406280#M32844</guid>
      <dc:creator>jorditorras</dc:creator>
      <dc:date>2017-12-14T16:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Count minutes per Day/hour/Month,etc</title>
      <link>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406281#M32845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a field in which you have Day, Hour, Month as possible selections and you wish to see 1440 minutes when you select Day? Is that what the goal is?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 16:55:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406281#M32845</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-14T16:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Count minutes per Day/hour/Month,etc</title>
      <link>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406282#M32846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, If I display the pivot table per day, I want to see 1440 (as it's the total of minutes in one day). If I display it per Year-Month, I want to see &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;43200 (as it's the total of minutes in one Year-Month). If I display the table per Hour and I filter, for example 7AM and two days, I want to see 120 (60 minutes per two days at 7AM). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I hope I explaining clear enough....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thank you!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regards, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Jordi&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 17:12:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406282#M32846</guid>
      <dc:creator>jorditorras</dc:creator>
      <dc:date>2017-12-14T17:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Count minutes per Day/hour/Month,etc</title>
      <link>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406283#M32847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not completely sure I understand how your data is.... would you be able to share a sample or some sample data to understand your data to give you a response which might help you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 10:39:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406283#M32847</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-15T10:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Count minutes per Day/hour/Month,etc</title>
      <link>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406284#M32848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow, I didn't see this last response... I attach some examples. &lt;IMG alt="Minutes Calculation.PNG" class="jive-image image-1" src="/legacyfs/online/188285_Minutes Calculation.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I'd need the calculation in Orange. So then I can Calcuate the Minutes of activity VS the Total of minutes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Jordi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 17:14:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406284#M32848</guid>
      <dc:creator>jorditorras</dc:creator>
      <dc:date>2017-12-27T17:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Count minutes per Day/hour/Month,etc</title>
      <link>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406285#M32849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have Hour as the most granular data in your dataset, you can just add another column in your data set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD MonthYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hour,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 60 as Minutes&lt;/P&gt;&lt;P&gt;FROM ....;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then you can just do Sum(Minutes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should work as long as you have a master calendar with all date and all times. or you have a master calendar with all dates and a master time table with all times.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 17:26:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406285#M32849</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-27T17:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Count minutes per Day/hour/Month,etc</title>
      <link>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406286#M32850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you using the alternate dimensions . if yes then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try using &lt;STRONG&gt;GetObjectField ([index]) with if/pick-match &lt;/STRONG&gt;to show number of minutes in the UI&lt;/P&gt;&lt;P&gt;something similar to&lt;/P&gt;&lt;P&gt;if(GetObjectField ([index])=dim1 ,14400,if(GetObjectField ([index])=dim2,43200,if(GetObjectField ([index])=dim3,60)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have not tested the code.please tweak if needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Pradosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 18:33:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406286#M32850</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-12-27T18:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Count minutes per Day/hour/Month,etc</title>
      <link>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406287#M32851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using a pivot table and I can pick alternate dimensions. I have tried to use your formula as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(GetObjectField (1)=[Date] ,14400,if(GetObjectField (1)=[Month-Year_EN],43200,if(GetObjectField (1)=[Hour],60)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Althought in the definition of the formula, there's no error, the result given is "-"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks you very much for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jordi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 11:52:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406287#M32851</guid>
      <dc:creator>jorditorras</dc:creator>
      <dc:date>2017-12-28T11:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Count minutes per Day/hour/Month,etc</title>
      <link>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406288#M32852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The most granular data I have is time (hh:mm:ss). Generally I have one record per minute, but ocasionally, the production stops and there are some specifics minutes when I don't have any record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to add "60 as minutes" in my master calendar but then in the pivot table when I use Sum(Minutes) the result displayed is wrong...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help Sunny!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jordi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 12:04:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406288#M32852</guid>
      <dc:creator>jorditorras</dc:creator>
      <dc:date>2017-12-28T12:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Count minutes per Day/hour/Month,etc</title>
      <link>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406289#M32853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share few rows of data to show how your data looks like. It might be easier to work with some data which makes sense....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 12:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406289#M32853</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-28T12:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Count minutes per Day/hour/Month,etc</title>
      <link>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406290#M32854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;what about&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;if(GetObjectField (1)='Date' ,14400,if(GetObjectField (1)='Month-Year_EN',43200,if(GetObjectField (1)='Hour',60)))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 12:15:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406290#M32854</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-12-28T12:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Count minutes per Day/hour/Month,etc</title>
      <link>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406291#M32855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I attach an screenshot with how data looks like. The last KPI in the screenshot is the one I tried with Sum(Minutes). &lt;IMG alt="Minutes.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188356_Minutes.PNG" style="width: 620px; height: 177px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jordi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 12:16:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406291#M32855</guid>
      <dc:creator>jorditorras</dc:creator>
      <dc:date>2017-12-28T12:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Count minutes per Day/hour/Month,etc</title>
      <link>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406292#M32856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried this. Now in all my selections, the result shown is 60. I seems like this formula is interpretating in all cases that my selection is "Hour".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made a test of it by typing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(GetObjectField (1)='Hour' ,1,2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to check the behaviour, and I see that the result is always 1 whether if I select Hour, Date, Month...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 12:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406292#M32856</guid>
      <dc:creator>jorditorras</dc:creator>
      <dc:date>2017-12-28T12:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Count minutes per Day/hour/Month,etc</title>
      <link>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406293#M32857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add an extra column with &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;GetObjectField (1) and check what you are getting .. you need to change the index inside the function to make it work your way . with a small tweaking in the code you can achieve this ..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;a small app or a screenshot that can describe the structure and what dimension would be a plus.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 12:32:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406293#M32857</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-12-28T12:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Count minutes per Day/hour/Month,etc</title>
      <link>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406294#M32858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have seen that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: Helvetica;"&gt;GetObjectField (1)='Hour'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="color: #3d3d3d; font-family: Helvetica;"&gt;GetObjectField (2)='Time' &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="color: #3d3d3d; font-family: Helvetica;"&gt;GetObjectField (3)='Date' &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="color: #3d3d3d; font-family: Helvetica;"&gt;GetObjectField (4)='Shift' &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="color: #3d3d3d; font-family: Helvetica;"&gt;I'm going to try more possibilites with this clue...&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 12:36:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406294#M32858</guid>
      <dc:creator>jorditorras</dc:creator>
      <dc:date>2017-12-28T12:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Count minutes per Day/hour/Month,etc</title>
      <link>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406295#M32859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you mentioned you are using alternate dimensions. you have to tweak your code to incorporate this my friend . share the screenshot of table with a few needed details to construct it and we will be able to help you better.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 12:52:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406295#M32859</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-12-28T12:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Count minutes per Day/hour/Month,etc</title>
      <link>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406296#M32860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it's not alternate dimensions as an in a graph that it's possible to switch them (I think this is what you meant); it's a pivot table where I can choose the dimension. I attached an screenshot in my last response to Sunny. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 14:47:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406296#M32860</guid>
      <dc:creator>jorditorras</dc:creator>
      <dc:date>2017-12-28T14:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Count minutes per Day/hour/Month,etc</title>
      <link>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406297#M32861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Pick(Dimensionality(), 30*24*60, 24*60, 60)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might have to fix the order of this based on your order of Dimensions, but you can see what I did&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MonthYear - &amp;gt; Dimensionality() = 1&lt;/P&gt;&lt;P&gt;Date - &amp;gt; Dimensionality() = 2&lt;/P&gt;&lt;P&gt;Hour -&amp;gt; Dimensionality() = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When MonthYear is the main dimension&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188376_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When Date is expanded&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/188382_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When Hour is expanded&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/188381_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also note that if you are using pivoted dimension (which I don't think you are from your screenshot), you will have to use SecondaryDimensionality() instead of Dimensionality()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 15:10:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406297#M32861</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-28T15:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Count minutes per Day/hour/Month,etc</title>
      <link>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406298#M32862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you post a sample with dummy data and a sample output if possible.&lt;/P&gt;&lt;P&gt;i would try to try out a pivot with my data but it may not be the one you wanted. it would help if you could post a sample which resembles your pivot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 15:24:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406298#M32862</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-12-28T15:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Count minutes per Day/hour/Month,etc</title>
      <link>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406299#M32863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well i was going to suggest dimensionality() when got to know the dimensions are not alternate but &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌ is too quick for me!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 15:28:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-minutes-per-Day-hour-Month-etc/m-p/1406299#M32863</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-12-28T15:28:09Z</dc:date>
    </item>
  </channel>
</rss>

