Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

How to filter data for no date rows

I have a data like below. Name, Date, Submission State. If you look at the below data John has no data for 3 and 4 Mar 2021. I managed to display the empty rows visually using the option "Show items...
  • ryan_mayu's avatar
    ryan_mayu
    5 years ago

    Anonymous 

    here is a workaround for you.

    1. use dax to create a new table

    Table 2 = 
    VAR a=DISTINCT('Table'[Name])
    return CROSSJOIN(a,'Table (2)')

    2. create a new column in the new table

    Column = 
    VAR _status=LOOKUPVALUE('Table'[Submitted],'Table'[Name],'Table 2'[Name],'Table'[Date],'Table 2'[Date])
    return if(ISBLANK(_status),"nodata",_status)

    please see the attachment below