Forum Discussion
Parameter not getting reset to default value when clicked on "clear selection"
Hi anmoltripathi5 ,
You can try to set the slicer style to single value and then create measure to get the value greater than the slicer. You can refer to the following example:
Measure =
IF(MAX('financials'[Manufacturing Price]) >= 'Parameter'[Parameter Value],MAX('financials'[Manufacturing Price]))
If your Current Period does not refer to this, please clarify in a follow-up reply.
Best Regards,
Clara Gong
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous , thanks for your response Originally my range is from -2000 to 2000, I took -20 to 20 as an example. Sorry about the confusion here. When I select single value as an option then maximum range Power BI allows us is of 1000 with increment of 1. Thats why I selected greater than equal to type, then I made bit change in my dax. Greater than equal to type provides me range more than 1000.
Is there any way I can keep my range from -2000 to 2000 still will be able to reset my default value to 0?
- Anonymous1 year agoNot applicable
Hi anmoltripathi5 ,
You can try using a custom visual mass filter.
After creating a numeric range parameter, put it into this visual object and it will filter out the values you want and when the filter is cleared, it will go back to the default value of 0.
If your Current Period does not refer to this, please clarify in a follow-up reply.
Best Regards,
Clara Gong
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.