Aggregate Beast Mode Filter
I understand why we are not able to filter by aggregate Beast Modes - The filter must be evaluated before performing the aggregate, so filtering by an aggregate is not possible due to order of operations.
This is similiar to SQL in that you cannot put an aggregate in your WHERE clause.
However, SQL has a way to solve for this in the HAVING clause. Would it be possible to add a "secondary" filter for a DOMO card that would achieve the same result? In effect, the card would first reduce the data set by what is defined in the Filter section, then perform the Beast Mode aggregate, and lastly filter by the "secondary" filter.
Comments
-
Thank you for submitting this idea @BABWMajorDOMO. I am assigning to our product manager @ckwright for review.
0 -
@BABWMajorDOMO I will have my team look at this feature. Agreed the HAVING clause would help with Aggregate beast modes.
0 -
Here's what I did as an interim fix, YMMV.
We have a beast mode, SUM((`ListSideUnits` + `SellSideUnits`)), that would result in zero at times. We can't use that beast mode as a filter because of the "SUM".
However, we can create a new beast mode, `ListSideUnits` + `SellSideUnits`, that will also result in a zero. We CAN use that in the filter to remove results that are zero.
It seems to work, but if someone pokes holes in it, let me know.
0
Categories
- 10.7K All Categories
- 1 APAC User Group
- 12 Welcome
- 36 Domo News
- 9.6K Using Domo
- 1.9K Dataflows
- 2.4K Card Building
- 2.2K Ideas Exchange
- 1.2K Connectors
- 339 Workbench
- 252 Domo Best Practices
- 11 Domo Certification
- 461 Domo Developer
- 47 Domo Everywhere
- 101 Apps
- 705 New to Domo
- 84 Dojo
- Domopalooza
- 1.1K 日本支部
- 4 道場-日本支部へようこそ
- 23 お知らせ
- 63 Kowaza
- 296 仲間に相談
- 649 ひらめき共有