Forum Discussion

dineshj's avatar
dineshj
Helper I
4 years ago
Solved

Excluding Blanks in a Column

Hi, I have the below column I am creating in PowerBI dekstop based on another column. If the value in the cell is 0 give me On Time result. If less than 0, give me Early result and great than 1, lat...
  • vojtechsima's avatar
    vojtechsima
    4 years ago

    dineshj ,
    I would have to see your data, however, you can implement ISBLANK check first and modify the blanks into something else that you can then filter out.

    SWITCH(
    TRUE(),
    ISBLANK(Source1[Final Due 1]), "No value",
    Source1[Final Due 1] = 0, "On Time",
    Source1[Final Due 1] < 0, "Early",
    "Late")