Forum Discussion

Vaish1's avatar
Vaish1
Frequent Visitor
1 year ago
Solved

POWER BI slicer

Hi I am working on Power BI report, where i have a dummy2 table in which a column is for submissiondatum where i want a date slicer which can filter in between date and blank also    
  • MFelix's avatar
    MFelix
    1 year ago

    Hi Vaish1 ,

     

    My bad did not understand that you want to have the value to the blank missread your question.

     

    In this case you cannot have it using a between slicer because the blank on a column won't be picked up (it's a non value date) if you always want to pickup the blanks I would then use the calendar table but in a disconnected way and use a similar measure to filter out the visuals:

     

    Filter calculation = 
    VAR temptable = FILTER( Table, ( Table[submissiondatum ] <= MAX(Calendar[Date]) && Table[submissiondatum ] >= MIN(Calendar[Date])) || Table[submissiondatum ] = blank)
    
    Return
    Countrows (temptable)