Dates Being Filtered with Fixed
I'm using the following FIXED expression in one of my Beast Mode functions. The function is showing the right numbers, but when I try filtering by errorCode, it only shows attempt numbers for days when the errors occurred. I want to see the number of attempts for each day, regardless of whether an error was selected or not.
Attempts
SUM(
SUM(
'attempts'
) FIXED (BY date
FILTER DENY errorCode
)
)
This is the standard view when no errors are selected (this shows the daily attempts, errors, and error ratio - the errors are all errorCodes combined). Here it shows numbers for all days, even when there are 0 attempts or errors (as it should):
If I filter by one of the errors, the error numbers are correct, but the visual only shows attempt numbers for days when the errors occurred:
In the end, when filtering by errorCode, I want to show the same attempt numbers for all days from visual 1, with error numbers from visual 2. Is there any way to do this with the FIXED function?
Thank you!
Answers
-
Can you try adding your Error Ratio calculation into the filter deny clause as well?
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman1 -
@ST_-Superman-_ Thanks for the quick reply. I get an error when trying to put the error ratio calculation in the deny clause.
Here are the actual formulas - might provide a hint as to why.
Attempts:
SUM(
SUM(
CASE
WHEN … IN(X, Y, Z)
AND …
AND …
THEN 1
ELSE 0
END
) FIXED (BYdate
FILTER DENYerrorCode
)
)Failures:
SUM(
CASE
WHEN … IN(X, Y, Z)
AND …
THEN 1
ELSE 0
END
)Error Ratio:
I get an error when I try putting in the Error Ratio calculation into attempts DENY clause, like so:
SUM(
CASE
WHEN … IN(X, Y, Z)
AND …
THEN 1
ELSE 0
END
)
/
SUM(
SUM(
CASE
WHEN … IN(X, Y, Z)
AND …
AND …
THEN 1
ELSE 0
END
) FIXED (BYdate
FILTER DENYerrorCode
)
)SUM(
SUM(
CASE
WHEN … IN(X, Y, Z)
AND …
AND …
THEN 1
ELSE 0
END
) FIXED (BYdate
FILTER DENYerrorCode
,
(Above Error Ratio Calculation)
)
)0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 57 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive