Forum Discussion

gvg's avatar
gvg
Post Prodigy
8 years ago
Solved

How to remove blank rows in a calculated table?

Hi,   I have a calculated table made with SELECTCOLUMNS like this:   mySales = DISTINCT(SELECTCOLUMNS( Sales,                                   "ProductID", Sales[ProductID],                   ...
  • Zubair_Muhammad's avatar
    8 years ago

    gvg

     

    May be this one

     

    mySales =
    FILTER (
        DISTINCT (
            SELECTCOLUMNS ( Sales, "ProductID", Sales[ProductID], "Amount", Sales[Amount] )
        ),
        NOT ( ISBLANK ( [Amount] ) )
    )