<?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 Create a new measure mixing other two that are working in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Create-a-new-measure-mixing-other-two-that-are-working/m-p/64617#M4265</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two measures in Qlik Sense that are working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A) Number of vendors with yearly invoicing &amp;lt; 18.000€ =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(distinct If(Aggr({&amp;lt;Transaction = {'Invoice'}&amp;gt;} Sum(Price), Year, VendorName)&amp;lt;18000, VendorName))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B) Number of vendors with invoices in every quarter =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (Max([Month#])&amp;gt;9,&lt;/P&gt;&lt;P&gt;Count( {&amp;lt;VendorName = P({&amp;lt; Transaction = {'Invoce'}, Quarter={'Q1'}&amp;gt;})&lt;/P&gt;&lt;P&gt;*P({&amp;lt; Transaction = {'Invoce'}, Quarter={'Q2'}&amp;gt;})&lt;/P&gt;&lt;P&gt;*P({&amp;lt; Transaction = {'Invoce'}, Quarter={'Q3'}&amp;gt;})&lt;/P&gt;&lt;P&gt;*P({&amp;lt; Transaction = {'Invoce'}, Quarter={'Q4'}&amp;gt;})&lt;/P&gt;&lt;P&gt;&amp;gt;} distinct VendorName),&lt;/P&gt;&lt;P&gt;if (Max([Month#])&amp;gt;6,&lt;/P&gt;&lt;P&gt;Count( {&amp;lt;VendorName = P({&amp;lt; Transaction = {'Invoce'}, Quarter={'Q1'}&amp;gt;})&lt;/P&gt;&lt;P&gt;*P({&amp;lt; Transaction = {'Invoce'}, Quarter={'Q2'}&amp;gt;})&lt;/P&gt;&lt;P&gt;*P({&amp;lt; Transaction = {'Invoce'}, Quarter={'Q3'}&amp;gt;})&lt;/P&gt;&lt;P&gt;&amp;gt;} distinct VendorName),&lt;/P&gt;&lt;P&gt;if (Max([Month#])&amp;gt;3,&lt;/P&gt;&lt;P&gt;Count( {&amp;lt;VendorName = P({&amp;lt; Transaction = {'Invoce'}, Quarter={'Q1'}&amp;gt;})&lt;/P&gt;&lt;P&gt;*P({&amp;lt; Transaction = {'Invoce'}, Quarter={'Q2'}&amp;gt;})&lt;/P&gt;&lt;P&gt;&amp;gt;} distinct VendorName),&lt;/P&gt;&lt;P&gt;Count( {&amp;lt;VendorName = P({&amp;lt; Transaction = {'Invoce'}, Quarter={'Q1'}&amp;gt;})&lt;/P&gt;&lt;P&gt;&amp;gt;} distinct VendorName)&lt;/P&gt;&lt;P&gt;)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I want to create a new measure that combines both. That is to say: Number of vendors with yearly invoicing &amp;lt; 18.000€ that have invoices in every quarter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;¿Can you help me, please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mensaje editado por: Carlos Navarrete Sierra
Measures modified because a translation problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2018 11:45:43 GMT</pubDate>
    <dc:creator>cnavarrete1</dc:creator>
    <dc:date>2018-06-06T11:45:43Z</dc:date>
    <item>
      <title>Create a new measure mixing other two that are working</title>
      <link>https://community.qlik.com/t5/App-Development/Create-a-new-measure-mixing-other-two-that-are-working/m-p/64617#M4265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two measures in Qlik Sense that are working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A) Number of vendors with yearly invoicing &amp;lt; 18.000€ =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(distinct If(Aggr({&amp;lt;Transaction = {'Invoice'}&amp;gt;} Sum(Price), Year, VendorName)&amp;lt;18000, VendorName))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B) Number of vendors with invoices in every quarter =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (Max([Month#])&amp;gt;9,&lt;/P&gt;&lt;P&gt;Count( {&amp;lt;VendorName = P({&amp;lt; Transaction = {'Invoce'}, Quarter={'Q1'}&amp;gt;})&lt;/P&gt;&lt;P&gt;*P({&amp;lt; Transaction = {'Invoce'}, Quarter={'Q2'}&amp;gt;})&lt;/P&gt;&lt;P&gt;*P({&amp;lt; Transaction = {'Invoce'}, Quarter={'Q3'}&amp;gt;})&lt;/P&gt;&lt;P&gt;*P({&amp;lt; Transaction = {'Invoce'}, Quarter={'Q4'}&amp;gt;})&lt;/P&gt;&lt;P&gt;&amp;gt;} distinct VendorName),&lt;/P&gt;&lt;P&gt;if (Max([Month#])&amp;gt;6,&lt;/P&gt;&lt;P&gt;Count( {&amp;lt;VendorName = P({&amp;lt; Transaction = {'Invoce'}, Quarter={'Q1'}&amp;gt;})&lt;/P&gt;&lt;P&gt;*P({&amp;lt; Transaction = {'Invoce'}, Quarter={'Q2'}&amp;gt;})&lt;/P&gt;&lt;P&gt;*P({&amp;lt; Transaction = {'Invoce'}, Quarter={'Q3'}&amp;gt;})&lt;/P&gt;&lt;P&gt;&amp;gt;} distinct VendorName),&lt;/P&gt;&lt;P&gt;if (Max([Month#])&amp;gt;3,&lt;/P&gt;&lt;P&gt;Count( {&amp;lt;VendorName = P({&amp;lt; Transaction = {'Invoce'}, Quarter={'Q1'}&amp;gt;})&lt;/P&gt;&lt;P&gt;*P({&amp;lt; Transaction = {'Invoce'}, Quarter={'Q2'}&amp;gt;})&lt;/P&gt;&lt;P&gt;&amp;gt;} distinct VendorName),&lt;/P&gt;&lt;P&gt;Count( {&amp;lt;VendorName = P({&amp;lt; Transaction = {'Invoce'}, Quarter={'Q1'}&amp;gt;})&lt;/P&gt;&lt;P&gt;&amp;gt;} distinct VendorName)&lt;/P&gt;&lt;P&gt;)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I want to create a new measure that combines both. That is to say: Number of vendors with yearly invoicing &amp;lt; 18.000€ that have invoices in every quarter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;¿Can you help me, please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mensaje editado por: Carlos Navarrete Sierra
Measures modified because a translation problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 11:45:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-a-new-measure-mixing-other-two-that-are-working/m-p/64617#M4265</guid>
      <dc:creator>cnavarrete1</dc:creator>
      <dc:date>2018-06-06T11:45:43Z</dc:date>
    </item>
  </channel>
</rss>

