Forum Discussion

Elijabrnc's avatar
Elijabrnc
Frequent Visitor
2 years ago
Solved

Searching for a Date

Hello everyone, I have the following problem. I have a column that shows the date. In the table view I can also search for individual dates. But when I add the date filter to my dashboard, I can't se...
  • Ritaf1983's avatar
    2 years ago

    Hi Elijabrnc 
    "Search" is a textual functionality, it isn't working with numeric / date data types.
    You can Duplicate your Date column and change it's data type for textual and then use the search option.

     

     

    the pbix with the example is attached

    If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi Elijabrnc ,

     

    Thanks for the reply from Ritaf1983. Ritaf1983 is right, her solution is good.

     

    My other solution would be to create a calculated column :.

    Column = 'Date'[Date] & “ ”

     

    After creating this calculated column, you can see that the data type of the column is Text.

     

    Put this calculated column into Slicer, at this point there is a Search function and you can search for the data you want.

     

    If you want to add a search function to the date type, maybe you can suggest it to Home (microsoft.com).

     

    If you have any other questions please feel free to contact me.

     

    The pbix file is attached.

     

    Best Regards,
    Yang
    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
    If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!