Forum Discussion
Custom context menu event not triggered with certain types of filters condition operators
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.
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-msft4 years agoCommunity 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.- Olsman4 years agoRegular Visitor
Hi Liang
I don't think I describe the problem in a good way ๐
1. Load the report
2. Open the context menu on a visual
3. Click on my custom context menu item
4. The javascript event is triggered ๐
5. Apply an advanced filter with "is empty"
6. Open the context menu and click on my custom item
7. The javascript event is not triggered โน๏ธ
8. Change the filter to "is blank"
9. Open the context menu and click on my custom item
10. The javascript event is triggered ๐
Best regards
Olle Karlsson