Forum Discussion
Get slicer value after disabling interactions
Hi nothingman
I think
SELECTEDVALUE (SlicerTable[SlicerColumn])
should work if you select only one value in the slicer.
The function that you've proposed doesn't work because the interaction between slicer and bar chart is turned off so SELECTEDVALUE sees all values in the date column. This is my main issue - how to get a reference to value selected on a slicer even though the interaction is turned off
- ricardocamargos8 years agoContinued Contributor
Hi nothingman,
You can use:
If you are using the "between" option:
First selected value = CALCULATE(FIRSTDATE(DIM_DATA_2[Date]); ALLSELECTED())
Last selected value = CALCULATE(LASTDATE(DIM_DATA_2[Date]); ALLSELECTED())
If you are using the "list" option you can do like Zubair_Muhammad said:
SELECTEDVALUE(DIM_DATA_2[Date]).
Ricardo
- PowerBI1296 years agoRegular Visitor
Hello,
Were you able to fix this problem ? I am facing the same issue now and still can't fix it!
Thank you!