Forum Discussion
Custom context menu event not triggered with certain types of filters condition operators
Hello
We are using Power BI embedded to display reports, and we have implemented a custom context menu for our visuals. It's working fine except when certain filters are applied.
If I apply an advanced filter with "is empty" or "is not empty" the context menu event is never triggered. But if I change to "is blank" or "is not blank" it's working.
4 Replies
- V-lianl-msftCommunity Support
Hi Olsman ,
Null is the absence of a value ,also the blank ‘cells’ that can be any number of things like an empty text string (2 double quote signs).
Maybe the cells without values in this column are blank instead of null. You can check the cells without values in this column in the query editor and replace them with null or blank.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.- OlsmanRegular Visitor
Hi Liang
I think the filters are applied correctly, the question is why are the filters affecting the context menu.
If I have applied a filter with "is empty" or "is not empty" the custom context menu is not working.
Best regards,
Olle Karlsson
- V-lianl-msftCommunity Support
Hi Olsman ,
The context menu is controlled by the main window, and the visual menu only has the option of the menu (by passing the option of the selection ID to trigger the enabling of the data point function for the end user). Getting information or events from this menu (for example, apply filter then callback the context) is not currently supported
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.