Variable Rows Card
I am trying to create a card (table) with 10 different columns highlighting different revenue metrics. In this table I am trying to create 4 rows that aggregate data differently based off of the same column metrics.
4 rows:
- Yesterday
- Week to Date
- Month to Date
- Year to Date
How would I create a table to facilitate this? Attaching a screenshot of what I would ideally like to create.
Comments
-
What does your current dataset look like? I think you will have to pre aggregate those rows in the dastaset.
Domo Arigato!
**Say 'Thanks' by clicking the thumbs up in the post that helped you.
**Please mark the post that solves your problem as 'Accepted Solution'2 -
The dataset I would be extracting from has historical revenue data from 2016-present. I would utilize this data to calculate Yesterday, WTD, MTD and YTD metrics.
1 -
actually you might be able to do it. You'll have to create beast mode fields for all the columns. the first would be something like this:
Date Beast Mode:
case when `DateField`=CURRENT_Date()-1 then 'Yesterday'
when WEEK(`DateField`)=WEEK(CURRENT_Date()) and YEAR(`DateField`) and YEAR(CURRENT_Date()) then 'WTD'
when Month(`DateField`)=MONTH(CURRENT_Date()) and YEAR(`DateField`) and YEAR(CURRENT_Date()) then 'MTD'
when Year(`DateField`)=Year(CURRENT_Date()) then 'YTD' end
THen do a similar beast mode for each of the metric columns. The only difference will be the THEN statement where instead of the WTD, MTD strings... you will replace it with the metric field. You may have to put a Sum or Count around the Case statement.
Domo Arigato!
**Say 'Thanks' by clicking the thumbs up in the post that helped you.
**Please mark the post that solves your problem as 'Accepted Solution'1 -
Would a Column View Sumo Card accomplish this?
0 -
i don't think so. I don't think there's a way to set different levels of aggregation(WTD, MTD,etc) in Sumo and you cant use Beast mode in Sumo.
Domo Arigato!
**Say 'Thanks' by clicking the thumbs up in the post that helped you.
**Please mark the post that solves your problem as 'Accepted Solution'0 -
HI
I dont think the Beastmode above would work as any dates classed as Yesterday will not longer be classed as WTD, and so on.
I think a Beastmode would work but on a transposed version of the card only.
You can use Beastmodes in Sumo, you cannot create them in Sumo though so you need to create in a regular card and share with the data set.
I think agreagation in ETL is probably the way to go to keep the format.
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