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.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive