Selection Binding in an aggregateflex step on a Date step - asObject doesn't support "Less than" or "Greater than"
Einstein Analytics - Dashboards/Lenses
Last updated 2021-04-29 ·Reference W-6078312 ·Reported By 3 users
Summary
Selection Binding on a date step, when used in a filters parameter in an aggregateflex step, doesn't support "Less than" or "Greater than" ranges, and the aggregatestep throws an error.
Repro
1. Create a Date widget step and a chart widget step , bind them with selection binding filter :
"filters": [
[
"Close_Date",
[
"{{row(Close_Date_1.selection,[0], [\"min\", \"max\"]).asObject()}}"
]
]
]
2. This works fine if we use Absolute Date filter selection as "Between" , but if we use selection as "Less Than Or Equal To" / "Greater Than Or Equal To" then it fails with an error :
"This widget can't be displayed because there is a problem with its source step:
Cannot read property '0' of null"
Workaround
N/A
Reported By (3)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.