Often we use markings to run data functions on-demand as a user interactions with visuals and data. We may also combine this with a filter scheme. However, the data function gets sent no data when there is no marking, resulting in an error being returned by the data function.
In many cases, we want to be able to send all current (filtered or not) data to the data function if an user hasn't marked any data. This is very similar to the option in visualisations on whether to use all data, show a message, or an empty visual when filtering by marking.
If this could be added it would reduce the need to pass in multiple copies of data for each filtering type, and also make data functions simpler and more efficient to use