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.
I find a bug in the operation of conditional formatting to change the background to a slicer in power bi.
With the same measure, all slicers except the one that "activates" the measure work. But the first one should also work.
Why?
You can use the Report an Issue link at the bottom of the page here to post it:
https://powerbi.microsoft.com/en-us/support/free/
Hi,
I have a similar, although not exactly the same issue.
I have 52 slicers in a report. all with a similar color coding measure:
I have only testied with 3 so far.
The measures are
_IsSelectedProduct=IF(ISFILTERED(TableName[Product] ),"#00FFFF","#FFFFFF")
_IsSelectedStatus=IF(ISFILTERED(TableName[Status] ),"#00FFFF","#FFFFFF")
_IsSelectedFileType=IF(ISFILTERED(TableName[Filetype] ),"#00FFFF","#FFFFFF")
When I apply to the slicers background, the strangest things happened.
I started with Status, applied the slicer measure in the Fill format, it worked.
Moved on to the next (FileType), Applied the mesasure for that one, it didn't work. I check my measure calcualtion and it worked fine in a card.or on a shape.
Changed the measure for the FileType slicer to use the Status measure instead. It worked: if a value is selected in the Status slicer, the file type slicer changes color.
Removed all conditional formatting, and reapplied. None of them works now...
I am assuming it is a bug. I tried to report it using the link above, but although it says "Issues" on top of the page, it looks like you can only submit ideas...
Any advice?
Thank you.
Hi,
does the measure work if you just use = on the conditional formatting rather than > and <=?
Yes, the measure works but the conditional formatting no as before.
Strange, do you have a copy of the PBIX file i could take a look at?
Yes, but tomorrow because now i go out. Anyway i test it also in another pbix but the result is the same.
Okay, no problem.
Maybe try this measure:
I also try your measure but it doesn't work. I think it's just a bug.
Anyway, How do I send you the pbix that I can not attach here?
Do you have a file share? Or Dropbox?
Yeah, it's nothing to do with the measure - the formatting just doesn't impact the current slicer. If you copy the Origin City slicer, the one you don't select data in will change colour.
Not sure there's a solution for this at this time
Unfortunately I can not use it as a solution because in the report I have to do for the customer, this option is not considered. Also with a measure that has ISFILTERED it could work but unfortunately I already have a perennial filter on that slicer so that solution is not good either.
That said, isn't there a way to get this bug to the "upper floors" so they think about fixing this?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
96 | |
95 | |
82 | |
71 | |
64 |
User | Count |
---|---|
115 | |
105 | |
95 | |
79 | |
72 |