Best Of
Re: datediff at row levels
@zuchu
You should be able to do this using the Pivot tile in Magic ETL.
You can find more information in our Knowledge Base article:
Basically, you can pivot the rows based on their order number, which will create new columns for each order. You can then use the DATEDIFF formula with Order 1, Order 2.
Here are a few screenshots that walks through those steps with very simple dummy data:
Starting Data:
Pivot Tile:
Output Data:
Hope this answers your question!
CKunz
Re: Bulk User Email Update
This question is resolved. During the bulk upload you have to create a "newEmail" column. In the 'email' column enter the the current email and in the 'newEmail' column enter the new email address to which you want to change.
Re: card design troubleshoot
@Jbrorby You can achieve this using a Stacked Bar + Line chart without the Trellis Settings. In order to stack the bars, you will need to create two separate beast modes for True and False values:
For true:
sum(case when test = 'True' then lte_ibd_transaction.net_shipment_count else 0 end)
For false:
sum(case when test = 'False' then lte_ibd_transaction.net_shipment_count else 0 end)
Then you can place both of these fields in the "Series" spot in Analyzer. In order to show the table below the graph like in your Excel version, check the box under Chart Properties > Data Table > Show Data Table
Re: DOMO Conditional Formatting in Tables (Change of text color only to an RGB value, not the full cell)
If you want the end result to look like this:
Then you can use an HTML table and create a beast mode that looks like this:
Re: ZIP code leading zeros being removed
If you are unable to change how the data is coming in as @ST_-Superman-_ suggests, you can use the LPAD() function to add the leading zero, when necessary. You can do this in Analyzer by creating a beast mode, or in Magic ETL using the formula tile. It would look like this:
LPAD(zip,5,'0')
This will add a zero to the front of the string if it is less than 5 characters to make it 5 characters long.
Re: Scatter Chart
Hi @Raymond -
Welcome to the forum. I'll try to guide you through the basics, not knowing the structure of your dataset is or where you are getting stuck. Feel free to follow up with more questions if needed.
The scatter plot chart type is found in the "Data Science" collection:
Once selected, the fields at the top of the screen will allow you to build your chart. For Scatter charts, you are allowed to add "X AXIS", "Y AXIS", "SERIES", "BUBBLE SIZE".
You will likely need to create a calculated field to allow Domo to generate the profitability, unless that is already part of your data. If you need help with that, please share some more about your dataset. In particular what fields would be needed and how you calculate profitability.
Re: ZIP code leading zeros being removed
If you can, import the data as a string instead of an integer.
Re: Creating an Artificial downtime for maintenance for only week and work hours
@jaeW_at_Onyx - He doesn't want to see the datetime difference though. He is looking for the amount of work hours between the two date time fields. So, if the workday is 9am-5pm. Then the time he would want for a job starting on Friday at 3pm and ending the following monday at 11am is 4. If you just did datetime diff, you would get 68 hours (minus the 48 hours for the weekend) and you have 20. Most of those hours were not during work hours.








