Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Patryn999
Frequent Visitor

(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:

getSlicerState.png

 

And here is an example of a filter I sent:

setSlicerState.png

 

 

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 2
Patryn999
Frequent 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.

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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.