Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Slicer Showing Majority Blank Values When Field Has Values

Hello,

 

I have a slicer that is filtering the majority of my date/time data as blank when there are no blank values in the column ("Discharge_Timestamp"). See below screenshots of the slicer showing a small number of records when years 2023 and 2024 are selected, and the vast majority of records being filtered as blank. There is a screenshot of the slicer being set to blank and the related table visual showing that there are values present. I've checked to make sure the data is set to date/time, and that the calendar table I created using DAX is marked as a date calendar. I'm a little lost. Looking to see if anyone can help with this.

 

 

 

Thanks in advance.

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi Anonymous ,

    Regarding your question,did you notice that none of the times marked as blank values are "m/dd/yyyy 12:00:00AM"?

    This is because the values in your date table default to 'm/dd/yyyy 12:00:00Am'

    Adding a year column to your fact table,make a connection between the 'Year by Year' column in the two tables.

    Final output

     

     

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

    Regarding your question,did you notice that none of the times marked as blank values are "m/dd/yyyy 12:00:00AM"?

    This is because the values in your date table default to 'm/dd/yyyy 12:00:00Am'

    Adding a year column to your fact table,make a connection between the 'Year by Year' column in the two tables.

    Final output

     

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thank you! I am new the working with Power Bi. I appreciate your response!