Forum Discussion

vivek_babu's avatar
vivek_babu
Helper II
1 year ago
Solved

Single date input in Power BI

Hi,   I am trying to convert a spotfire dashboard to Power BI. We have a input field in Spotfire which takes datetime as the filter value so users type the required date in the input field then the...
  • danextian's avatar
    1 year ago

    Hi vivek_babu 

    Power BI doesn't currently support single date selection unless you're using a dropdown or tile slicer.   My usual workaround is to use a before option of the range slicer, a shape and a text box. The shape and textbox cover the min date of the slicer. They're then grouped and I ensure that maintain layer order is enabled for those three visuals

     

     

  • v-aatheeque's avatar
    v-aatheeque
    1 year ago

    Hi vivek_babu 

    To meet your goal allowing users to pick a single date easily (not from a scrollable range slicer), but through search or direct input you can use a slicer with dropdown

     

    Try this below steps :

    •  Add your date field to a slicer.
    • In the slicer settings >> slicer visual>> More options.
    • Choose “Dropdown” instead of “Between” or “List”. Click on the slicer where the dates are shown on your report.

     

    Reference :   https://databear.com/power-bi-on-screen-date-picker-no-custom-visual/
                        https://www.youtube.com/watch?v=zhWtU0DynCk&t=585s

     

    Hope this helps !!

    Thank You..

     

  • kushanNa's avatar
    kushanNa
    1 year ago

    Hmm, interesting. Is it possible for you to provide us with a sample scenario a PBIX file or a screenshot using some dummy data that you're facing the issue with? Also, have you used the TREATAS function in your scenario, like in Patrick's video? It seems that this function helps perform calculations for that specific date