Forum Discussion
I cannot detect my slicer is a range slicer in JS client API
HI FrançoisD,
AFAIK, current power bi filters are not able to distinguish between the ‘all selected’ and 'no item selected' effects.(applied 'all select' effect equal to no filter applied) Have you tried to modify the filter ranges to confirm if the client API can respond with these filter effects?
Regards,
Xiaoxin Sheng
- FrançoisD2 years agoFrequent Visitor
Hi, thanks for your answer
Yes, when, the default range is not "full range", the slicer type is easily found thanks to the filters in state.
However I need to automate the selection of the proper elements in the widget so if I cannot guess it is a range slicer my program cannot work.
I understand from your answer there are no way today to get the information about selected widget in the embedded API. Must I raise an Idea somewhere to try having this in the MS roadmap?
Regards