Forum Discussion

pfarahani's avatar
pfarahani
Helper II
5 years ago
Solved

Blank Values

Hi Guys, I created this Calculated table, and it seems to work pretty good, how can I handle the blank? Bascially to say if its blank then to print the word blank. Thanks

 

 

 

  • pfarahani Well, one way would be to incorporate the FILTER for removing the blank row from you CALCULATETABLE and do this:

    Table =
      VAR __BlankTable = SELECTCOLUMNS( { ("Blank", "Blank", 1) },"DepartmentAbbreviation",[Value1], "CourtDept",[Value2],"Used",[Value3])
    RETURN
      UNION(
        __BlankTable,
        <Your CALCULATETABLE with the FILTER for blank rows goes here>
      )

3 Replies

    • Greg_Deckler's avatar
      Greg_Deckler
      Community Champion

      pfarahani Well, one way would be to incorporate the FILTER for removing the blank row from you CALCULATETABLE and do this:

      Table =
        VAR __BlankTable = SELECTCOLUMNS( { ("Blank", "Blank", 1) },"DepartmentAbbreviation",[Value1], "CourtDept",[Value2],"Used",[Value3])
      RETURN
        UNION(
          __BlankTable,
          <Your CALCULATETABLE with the FILTER for blank rows goes here>
        )
  • pfarahani 

    maybe try add filter 

    xxxxx

    SUMMARZIE( FILTER('JBSIS PROBATE FULL REPORT', DEPTABBREVIATION<>""), XXXXX)