<?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 How to calculate bits? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-calculate-bits/m-p/1101942#M891274</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="color: #0000ff; font-style: inherit; font-size: 13px; font-family: inherit; font-weight: inherit;"&gt;Hi All, &lt;A href="https://community.qlik.com/people/hic" target="_blank"&gt;hic&lt;/A&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="icon-status-icon icon-employee" title="Employee"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;Date&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;Floor&lt;/SPAN&gt;(&lt;SPAN style="color: #800000; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;Timestamp&lt;/SPAN&gt;))&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;as&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;Date,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp; Time&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;Floor&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;Frac&lt;/SPAN&gt;(&lt;SPAN style="color: #800000; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;Timestamp&lt;/SPAN&gt;),1/24/60))&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;as&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;Time,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;These expressions will give you at most 24*60=1440 distinct time values (11 bits) and typically 365 distinct dates (9 bits)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How to calculate bits? How 11 bits and 9 bits?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>arethaking</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>How to calculate bits?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-bits/m-p/1101942#M891274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="color: #0000ff; font-style: inherit; font-size: 13px; font-family: inherit; font-weight: inherit;"&gt;Hi All, &lt;A href="https://community.qlik.com/people/hic" target="_blank"&gt;hic&lt;/A&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="icon-status-icon icon-employee" title="Employee"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;Date&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;Floor&lt;/SPAN&gt;(&lt;SPAN style="color: #800000; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;Timestamp&lt;/SPAN&gt;))&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;as&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;Date,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp; Time&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;Floor&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;Frac&lt;/SPAN&gt;(&lt;SPAN style="color: #800000; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;Timestamp&lt;/SPAN&gt;),1/24/60))&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;as&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;Time,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;These expressions will give you at most 24*60=1440 distinct time values (11 bits) and typically 365 distinct dates (9 bits)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How to calculate bits? How 11 bits and 9 bits?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&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/How-to-calculate-bits/m-p/1101942#M891274</guid>
      <dc:creator>arethaking</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate bits?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-bits/m-p/1101943#M891275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/2286"&gt;rwunderlich&lt;/A&gt;‌'s blog: &lt;A href="http://qlikviewcookbook.com/2008/05/memory-sizes-for-data-types/" title="http://qlikviewcookbook.com/2008/05/memory-sizes-for-data-types/"&gt;Memory sizes for data types | Qlikview Cookbook&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/27943"&gt;marcus_sommer&lt;/A&gt;‌'s illustrative document: &lt;A href="https://community.qlik.com/docs/DOC-17228"&gt;ByteSizes from Values in QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 04:37:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-bits/m-p/1101943#M891275</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-08-29T04:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate bits?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-bits/m-p/1101944#M891276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You use 2 to the power of N to calculate how many values N bits can hold:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="213"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="98"&gt;Number of bits&lt;/TD&gt;&lt;TD width="115"&gt;Number of values&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;1&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;2&lt;/TD&gt;&lt;TD align="right"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;3&lt;/TD&gt;&lt;TD align="right"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;8&lt;/TD&gt;&lt;TD align="right"&gt;256&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;9&lt;/TD&gt;&lt;TD align="right"&gt;512&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;10&lt;/TD&gt;&lt;TD align="right"&gt;1024&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;11&lt;/TD&gt;&lt;TD align="right"&gt;2048&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it is easy to see that 366 days fit in 9 bits, and 1440 minutes fit in 11 bits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 08:45:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-bits/m-p/1101944#M891276</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2016-08-30T08:45:06Z</dc:date>
    </item>
  </channel>
</rss>

