Forum Discussion
(Embedded) Slicer target does not match
Just wondering if anyone has hit anything like this before - using PBI embedded, and have a slicer to filter down to specific date ranges (text value, and column is text type).
The issue I'm having is I can't set this slicer, at all. Single value slicers work fine, another slicer I have that's multi-select with strings works fine but this one throws out "Filters target doesn't match slicer target."
I've attached the filter received from requesting getSlicerState:
And here is an example of a filter I sent:
Going further:
So I was wondering what would happen if I did absolutely nothing and just fed the result of getSlicerState into setSlicerState (without any modifications at all). It throws "slicerTargetDoesNotMatch" - so all evidence is pointing to this not being my issue so far. Sad.
Any ideas?
2 Replies
- Patryn999Frequent Visitor
I haven't confimed yet but I figured I might as well put this up for anyone else looking - I believe the issue is that the slicer is filtering on a grouped field.
That's the only difference I've found between my functional and non-functional slicers so far.
- Patryn999Frequent Visitor
I hope no-one minds me having a conversation with myself.
Altered that field so that grouping was performed during load insead of using the grouping feature - slicer now works fine.
So for anyone looking, all evidence suggets at this point Power BI Embedded does NOT support slicers using grouped fields.