<?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 if all field are blank?? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-if-all-field-are-blank/m-p/114641#M765841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you that worked.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jul 2018 12:38:13 GMT</pubDate>
    <dc:creator>nburton78</dc:creator>
    <dc:date>2018-07-06T12:38:13Z</dc:date>
    <item>
      <title>Count if all field are blank??</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if-all-field-are-blank/m-p/114635#M765835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I’m new to all this so be nice please.&amp;nbsp; I am working on making a chart for my data.&amp;nbsp; I am struggling with the expression.&amp;nbsp; What I want to do is show a count of all parts that are blank in all 4 columns sales columns (C-F) by region.&amp;nbsp; I can do it for one column, but I can’t seem to write the correct expression to check all columns.&amp;nbsp; In Excel this is how I would write it “=COUNTIFS(C2,"",D2,"",E2,"",F2,"")”&lt;/P&gt;&lt;P&gt;Heres what I have so far:&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; ({&amp;lt; Part&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;_Number&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"=Len(trim(Most_Recent_Order_Date))=0"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Part_Number&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached an excel example of what I"m trying to do.&amp;nbsp; Please Help!&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/Count-if-all-field-are-blank/m-p/114635#M765835</guid>
      <dc:creator>nburton78</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count if all field are blank??</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if-all-field-are-blank/m-p/114636#M765836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;What are you expecting?&lt;/P&gt;&lt;P&gt;4colums? Or 1 column with total blank or 1 if at least one blank?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 15:59:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if-all-field-are-blank/m-p/114636#M765836</guid>
      <dc:creator>ogautier62</dc:creator>
      <dc:date>2018-07-05T15:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Count if all field are blank??</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if-all-field-are-blank/m-p/114637#M765837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CountPart:&lt;/P&gt;&lt;P&gt;LOAD [Part number], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; REGION, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Most_Recent_Order_Date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Most_Recent_Open_Order_Date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Most_Recent_Work_Order_Date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Most_Recent_Work_Order_Open_Order_Date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF( Len(Trim(Most_Recent_Order_Date&amp;amp;Most_Recent_Open_Order_Date&amp;amp;Most_Recent_Work_Order_Date&amp;amp;Most_Recent_Work_Order_Open_Order_Date))=0, 1, 0) AS NoOfSales &lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Qlikview example.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then just use bar chart with REGION as Dimension and &lt;/P&gt;&lt;P&gt;Expr: Sum(NoOfSales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 16:40:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if-all-field-are-blank/m-p/114637#M765837</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-07-05T16:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Count if all field are blank??</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if-all-field-are-blank/m-p/114638#M765838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no columns, I want to count the total by region with no sales.&amp;nbsp; I am trying to write this as an expression in a bar chart but I can't seem to write it so that it checks to see if all columns are blank then count the part number.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 18:52:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if-all-field-are-blank/m-p/114638#M765838</guid>
      <dc:creator>nburton78</dc:creator>
      <dc:date>2018-07-05T18:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Count if all field are blank??</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if-all-field-are-blank/m-p/114639#M765839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But each column is listed as an individual SQL load each coming from a different table like this&lt;/P&gt;&lt;P&gt;" SQL SELECT distinct "Short_Item_Number__SDITM" as [Short_Number],&lt;/P&gt;&lt;P&gt;&amp;nbsp; Max("Order_Date__SLUPMJ") as [Most_Recent_Order_Date]&lt;/P&gt;&lt;P&gt;&amp;nbsp; from DWH_V1.dbo.V_SalesHistory&lt;/P&gt;&lt;P&gt;where Order_Type__SDDCTO &amp;lt;&amp;gt; 'SQ'&lt;/P&gt;&lt;P&gt;Group by Short_Item_Number__SDITM; "&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 18:55:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if-all-field-are-blank/m-p/114639#M765839</guid>
      <dc:creator>nburton78</dc:creator>
      <dc:date>2018-07-05T18:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Count if all field are blank??</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if-all-field-are-blank/m-p/114640#M765840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh ok. I just gave you the solution based on what i have seen in your excel sheet. Just use the same expr in your bar chart. Did you try? If not can you share your sample qvw file to look into? So when you say they are coming from different tables, can you show how your data model looks like?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be try like below in your expr with Region as your Dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= Sum(IF( Len(Trim(Most_Recent_Order_Date&amp;amp;Most_Recent_Open_Order_Date&amp;amp;Most_Recent_Work_Order_Date&amp;amp;Most_Recent_Work_Order_Open_Order_Date))=0, 1, 0))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 20:39:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if-all-field-are-blank/m-p/114640#M765840</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-07-05T20:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Count if all field are blank??</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if-all-field-are-blank/m-p/114641#M765841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you that worked.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 12:38:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if-all-field-are-blank/m-p/114641#M765841</guid>
      <dc:creator>nburton78</dc:creator>
      <dc:date>2018-07-06T12:38:13Z</dc:date>
    </item>
  </channel>
</rss>

