Need to see a value by week with current year next to previous year in a Table Card
Hi,
I am trying to rebuild Tableau Dashboards in DOMO and I am running into a lot of trouble dealing with dates. Some of the issues I have been able to figure out, but this one has me stumped and none of the available related advice seems to work for me in the SQL Transform component:
Using 3 fields: 'date', 'line', and 'calls'
I need to see the sum of calls by week for a set of lines with the previous year as a column next to the current year in a table card. These values will then also be used to calculate difference and percent difference (I can handle those things once the columns are made but I added that here for context).
The header of the resulting table card would look like:
week number | calls this year | calls last year | difference | % difference
And then the user should be able to filter the card by line.
The problems I run into are that at some level of the transforms intended to get previous year as a field I can put next to current year, everything becomes invalid.
How do I do what I am trying to do in the SQL Transform component?
Categories
- 7.7K All Categories
- 2 Connect
- 918 Connectors
- 244 Workbench
- 477 Transform
- 1.8K Magic ETL
- 60 SQL DataFlows
- 446 Datasets
- 35 Visualize
- 198 Beast Mode
- 2K Charting
- 8 Variables
- 1 Automate
- 348 APIs & Domo Developer
- 82 Apps
- Workflows
- 14 Predict
- 3 Jupyter Workspaces
- 11 R & Python Tiles
- 241 Distribute
- 59 Domo Everywhere
- 241 Scheduled Reports
- 15 Manage
- 36 Governance & Security
- 26 Product Ideas
- 1.1K Ideas Exchange
- Community Forums
- 15 Getting Started
- 1 Community Member Introductions
- 49 Community News
- 18 Event Recordings
- 579 日本支部