How to transform from Excel Sumif formula to Domo ?
Hi, I have a data report with a template that looks like this in Excel:
And I need to transform this into a card.
So far I managed to make beast mode like this:
Sum( CASE WHEN CONCAT( product_code, "_", account_id,
account_name) = account
THEN Value ELSE 0 END)
AS 'Cost'
But how do I take into account that the value for the Product Code is not fixed? And also, is making a card that looks like this template possible in Domo? Thanks a lot!
Comments
-
Can you provide an example of the dataset in Domo? Will make coding the final result easier if I know what you're data looks like inside Domo. And you're definitely on the right path.
As far as if it's possible, yes it is. What you're going to need to do is basically create the card as you want it in a dataflow (doing the calculations there as well). Then you can just use a table card to display it.
I should be able to help on this front once I know what youre datasource looks like here as well.
Sincerely,
Valiant0 -
Hi @Valiant , thanks for replying.
The datasource is this Excel file. So basically what we are trying to do is to replicate the data from Excel to Domo. In this case, the data file will be the second tabel on the right and another mapping table that lists:
City, category, sub-category, product code (that we can map manually and upload to Domo).
Can you help with this?
Thanks!
0 -
I would start by breaking up the Account name into "Product Code" and "Fee Type", do this in either Excel or WB.
After that join in ETL using the Product Code of that table to the Mapping Table.
From there it should be quite easy to generate that output table. I think Sumo might work here or a transposed version of the table you have in the stadard type table card.
0
Categories
- All Categories
- 1.7K Product Ideas
- 1.7K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 295 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.8K Transform
- 97 SQL DataFlows
- 608 Datasets
- 2.1K Magic ETL
- 3.8K Visualize
- 2.4K Charting
- 710 Beast Mode
- 49 App Studio
- 39 Variables
- 667 Automate
- 170 Apps
- 446 APIs & Domo Developer
- 44 Workflows
- 7 DomoAI
- 33 Predict
- 13 Jupyter Workspaces
- 20 R & Python Tiles
- 391 Distribute
- 111 Domo Everywhere
- 274 Scheduled Reports
- 6 Software Integrations
- 115 Manage
- 112 Governance & Security
- Domo Community Gallery
- 31 Product Releases
- 9 Domo University
- 5.3K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 103 Community Announcements
- 4.8K Archive