Monthly Average
Hi,
I want to create a Table Chart to show the service level by month for this Fiscal Year.
I've created a calculation to get the service level --> (1-(SUM(`Lost Sales`)/(SUM(`Lost Sales`)+SUM(`Sales`))))*100
And now I want to calculate the Monthly Average of Service Level
In a line chart, I can manage it with date selection (graph by month), but with table chart, this option is not available, so this is a calculation I've created for Service Level AVG in January 2019 but it's not working (I didn't get any result):
case when CONCAT(MONTH(`Date`),YEAR(`Date`))=12019 then AVG(1-(SUM(`Lost Sales`)/(SUM(`Lost Sales`)+SUM(`Sales`))))end
Is that the correct way to do that ot there's other solution?
Thanks in advance.
Comments
-
Hello Judit, Is there a reason why you would need to do the case statement for only the January month?
I would think you would want to create the beast mode for the Service Level, and then another beast mode for the Month/Year. Then you would end up with an average that displays along side the month label. This offers the advantage of being able to apply the date filters to the card with Domo instead of being locked in a beast mode which may be confusing to an end user.
If this doesn't answer the question, I would be curious if you could share some example data and an example of what you expect the output of the beast mode to be.
**Say "Thanks" by clicking the heart in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0
Categories
- All Categories
- 1.4K Product Ideas
- 1.4K Ideas Exchange
- 1.4K Connect
- 1.1K Connectors
- 278 Workbench
- 4 Cloud Amplifier
- 4 Federated
- 2.7K Transform
- 89 SQL DataFlows
- 556 Datasets
- 2K Magic ETL
- 3.3K Visualize
- 2.3K Charting
- 569 Beast Mode
- 11 App Studio
- 27 Variables
- 578 Automate
- 140 Apps
- 414 APIs & Domo Developer
- 23 Workflows
- 1 DomoAI
- 28 Predict
- 12 Jupyter Workspaces
- 16 R & Python Tiles
- 351 Distribute
- 91 Domo Everywhere
- 258 Scheduled Reports
- 2 Software Integrations
- 92 Manage
- 89 Governance & Security
- 9 Product Release Questions
- Community Forums
- 42 Getting Started
- 28 Community Member Introductions
- 85 Community Announcements
- 4.8K Archive