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.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.8K Visualize
- 2.5K Charting
- 738 Beast Mode
- 56 App Studio
- 40 Variables
- 684 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 46 Workflows
- 10 DomoAI
- 35 Predict
- 14 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 123 Manage
- 120 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