Forum Discussion

MSemenoff's avatar
MSemenoff
New Member
10 years ago
Solved

Eliminating a blank from a table visualization

I'm new to DAX. I'm creating a measure using two two tables. The "one to many" relationship between the tables stems from columns of unique IDs. However the "one" side column is a subset of the "many...
  • greggyb's avatar
    10 years ago

    You can filter the table using visual-, page-, or report-level filters to exclude blanks from the one side.

     

    Or you can rewrite your [Amt1] measure to do the same:

    Amt1 =
    CALCULATE(
        SUM( '<many side table>'[Amount] )
        ,NOT( ISBLANK( '<one side table>'[ID] ) )
    )