Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Null checkbox not working

I have created a dropdown box with a null checkbox as shown on the screenshot below, however, the null checkbox is always greyed out and if i dont select anything on the drop down box, the report does not display any results. Requirements is that the checbox / dropdown box be optional and report should work just fine whether user selects something on the dropdown or not. ANyone know what the solution might be?

 

2 Replies

  • Hi Anonymous ,

     

    Sorry for that the information you have provided is not making the problem clear to me. Can you please share more details to help us clarify your scenario?

    Please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.

     

    Refer to:

    How to provide sample data in the Power BI Forum

    How to Get Your Question Answered Quickly

     

    Best Regards,

    Jianbo Li

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

    • Anonymous's avatar
      Anonymous
      Not applicable

      Basically i created a dropdown  box parameter based on this query,  requirement is to make this dropdown optional so that users can selectr dropdown items if they choose to or they can skip it and still be able to run the report. Issue i am having is that when user dont select the dropdown items the report output is blank even after they select all the other  parameters. 

       

      f((Date.From([ACT_START_DATE]) <>null ) and (Date.From([ACT_END_DATE]) = null) or
      (Date.From([START_DATE]) <= Date.AddDays(Date.From(DateTime.LocalNow()),3))) then "3 Forward" else if
      (Date.From([FINISH_DATE]) >= Date.AddDays(Date.From(DateTime.LocalNow()),7)) then "7 Forward" else "All"