Forum Discussion
Trouble with button segmentation behavior with 2 buttons
- 6 months ago
Hi EugenioProlog ,
Since both slicers are field parameters, selecting one shouldn’t clear the other. This usually occurs when the measure returns BLANK because the filter context changes as you switch granularity.
Here are a few things to check.
1. Does SELECTEDVALUE(Seletor_MRR_ARR[mrr_arr]) return BLANK when you select Quarterly?
2. Turn on Edit interactions and make sure the granularity slicer isn’t filtering the ARR/MRR slicer.
3. Try placing Formatted_Trimestral directly on the axis (without the parameter) to see if the measure still disappears.
If the visual only blanks on Quarterly, it may be a context issue related to the calendar column used in that parameter.
I hope this clarifies the situation. If I’ve misunderstood any part of your situation, please let us know.
For the M/Q/Y, I have this field parameter:
For the ARR/MRR, I have a simple parameter on a created table called Seletor_MRR_ARR that has only one column, and looks like this:
mrr_arr
MRR
ARR
Then I have this metric on my dashboard:
Hi EugenioProlog ,
I have re-created your setup with some sample data, and this issue does not occur for me. (I added my .pbix so you can check that you have the same logic in your file just in case).
So I believe something else is the issue.
Can you check if any unexpected filters affect your visuals (the chart and the arr-mrr selector) when you select month/qu
arter/year in your other selector? Alternatively, check if the visual works as expected if you replace the parameter with dim__calendario[Formatted_Trimestral] in the x axis. It is very strange that with the month selection it works but with the quarter it does not.