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
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3.8K Transform
- 657 Datasets
- 115 SQL DataFlows
- 2.2K Magic ETL
- 815 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 81 App Studio
- 45 Variables
- 775 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 81 Workflows
- 23 Code Engine
- 40 AI and Machine Learning
- 20 AI Chat
- 1 AI Playground
- 1 AI Projects and Models
- 18 Jupyter Workspaces
- 410 Distribute
- 120 Domo Everywhere
- 280 Scheduled Reports
- 10 Software Integrations
- 144 Manage
- 140 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 114 Community Announcements
- 4.8K Archive