Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I created a calendar on my customer side like as shown below
In Calendar if you see Jun and Jul both are selected but user want to select only one, they don't want multiselect.
By Using Always one selected value I can achieve this but due to some scenario I cannot use Always one selected value properties.
Is there any other way to achieve Always one selected value without using default properties.
Thanks in advance.
Selecting all values which should be included in the data-sets for the wanted views is the most intuitive way and usually very simple and fast to perform. Everything else will add an overhead with some risks of confusing to which data-set is behind the views.
Therefore it should be well balanced how much adjustments are made to manipulate the default state and how it's documented / communicated to the users.
Very likely I would for such a scenario implement a reference within the expressions to the max. month, for example with something like:
sum({< MonthNum = {">=$(max(MonthNum)-1)<=$(max(MonthNum))"}>} Value)
Hi @sumitk
Another alternative would be to use a variable. Where the user can answer the question (multi / single) select.
Based on this you can use the "add on" tab to add a calculation condition. This will prevent the chart / table from showing if they selected more than 1 Month but in the variable selected Single.
Regard - Jandre
Mark the solution as accepted that solved your problem and if you found it useful, press the like button! Check out my YouTube Channel | Follow me on LinkedIn
Hi,
Thanks for your reply, but its not working
Hi @sumitk
Its not possible to do this using a variable or any other method. However you can prompt the user if they made a multi selection when the intent was to only select one. Attached is a video showing this using a layout container that would just unhide a text box that is placed above the filter.
You can also use the Add on (Calculation Condition)
Mark the solution as accepted that solved your problem and if you found it useful, press the like button! Check out my YouTube Channel | Follow me on LinkedIn
Try this
IF(GetSelectedCount(Month) <= 1, Month, NULL())