<?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 Erlang C in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Erlang-C/m-p/1110355#M462702</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on a project where I need to calculate the Erlang C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In excel it is easy but in qlikview it is more difficult.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to do it using variables but I cant get it to work in a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the variables I created to calculate the Erlang C:&lt;/P&gt;&lt;P&gt;let vDen = 0;&lt;/P&gt;&lt;P&gt;let vNC = 360;//Number of calls&lt;/P&gt;&lt;P&gt;Let vP = 900;//Period length&lt;/P&gt;&lt;P&gt;Let vT = 120;//Average call duration&lt;/P&gt;&lt;P&gt;let m = 55;//Number of agent&lt;/P&gt;&lt;P&gt;let tt = 30;//Target answer time&lt;/P&gt;&lt;P&gt;Let u = num((($(vNC)/$(vP))*$(vT)),'#0 ');//traffic intensity&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vOCC = $(u)/$(m);&lt;/P&gt;&lt;P&gt;Let vNUM = num(pow($(u),$(m))/fact($(m)),'#0 ');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i=0 to $(m)-1&lt;/P&gt;&lt;P&gt;let vDen = $(vDen)+ (pow($(u),$(i))/fact($(i)));&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vErlang = Num(vNUM/(vNUM+((1-vOCC)*vDen)),'# ##0.00%');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table I am not able to calculate the &lt;SPAN style="font-size: 13.3333px;"&gt;vDen as I cannot create the loop in the expression tab.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Idea?&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;Hasvine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Aug 2016 07:43:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-08-30T07:43:27Z</dc:date>
    <item>
      <title>Erlang C</title>
      <link>https://community.qlik.com/t5/QlikView/Erlang-C/m-p/1110355#M462702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on a project where I need to calculate the Erlang C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In excel it is easy but in qlikview it is more difficult.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to do it using variables but I cant get it to work in a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the variables I created to calculate the Erlang C:&lt;/P&gt;&lt;P&gt;let vDen = 0;&lt;/P&gt;&lt;P&gt;let vNC = 360;//Number of calls&lt;/P&gt;&lt;P&gt;Let vP = 900;//Period length&lt;/P&gt;&lt;P&gt;Let vT = 120;//Average call duration&lt;/P&gt;&lt;P&gt;let m = 55;//Number of agent&lt;/P&gt;&lt;P&gt;let tt = 30;//Target answer time&lt;/P&gt;&lt;P&gt;Let u = num((($(vNC)/$(vP))*$(vT)),'#0 ');//traffic intensity&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vOCC = $(u)/$(m);&lt;/P&gt;&lt;P&gt;Let vNUM = num(pow($(u),$(m))/fact($(m)),'#0 ');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i=0 to $(m)-1&lt;/P&gt;&lt;P&gt;let vDen = $(vDen)+ (pow($(u),$(i))/fact($(i)));&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vErlang = Num(vNUM/(vNUM+((1-vOCC)*vDen)),'# ##0.00%');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table I am not able to calculate the &lt;SPAN style="font-size: 13.3333px;"&gt;vDen as I cannot create the loop in the expression tab.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Idea?&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;Hasvine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 07:43:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Erlang-C/m-p/1110355#M462702</guid>
      <dc:creator />
      <dc:date>2016-08-30T07:43:27Z</dc:date>
    </item>
  </channel>
</rss>

