Best Of
Re: Trying to convert Month of the Year into Date with Magic ETL
You can use the formula tile and use the concat and date functions to build your date and make it be recognized as a date field.
Here is an example where the date will always be in 2018
DATE(CONCAT(`Month of the year`,'/1/2018'))
Here is another example where it will extract the year from the current date
DATE(CONCAT(`Month of the year`,'/1/',YEAR(CURRENT_DATE())))
Re: Trying to convert Month of the Year into Date with Magic ETL
Here's my video on how to do this using a CAST function:
Re: Converting to Integer
@Kyle_Russell It looks like there are some spaces in the as well. If you wrap a TRIM function around it that should work:
CAST(TRIM(REPLACE(`Amount`,',','')) as DOUBLE)
Re: Converting to Integer
@Kyle_Russell It looks like the commas are causing the numbers to be imported as strings instead of numbers. Try this formula to remove the commas and convert the datatype:
CAST(REPLACE(`Amount`,',','') as DOUBLE)
Re: Converting to Integer
@Kyle_Russell Could you send some examples of values in those columns? If there are any extra characters, like dollar signs, in the original fields you will need to remove them before you can use the alter columns tile.
Re: Create Bar Chart with Current Month Vs Previous Month?
@deona720 You only need to include the word CASE once within a case statement, but every CASE must be concluded with the word END. I also recommend using the LAST_DAY function (which returns the last day of the month) over the MONTH function since it also accounts for the year. Your formula should look like this:
Case whenTitleLIKE '%OTT%' AND LAST_DAY(Date) = LAST_DAY(CURRENT_DATE()) THEN 'Current Month'
whenTitleLIKE '%OTT%' AND LAST_DAY(Date) = LAST_DAY(DATE_SUB(CURRENT_DATE(), interval 1 month)) THEN 'Previous Month'
ELSE '' END
Re: Combining data in two separate columns
@ScottLeeds I recommend using a beast mode with the IFNULL function to default to the Pre-Lease % Summer 2024 value when present, otherwise use Pre-Lease % 2024:
IFNULL(`Pre-Lease % Summer 2024`,`Pre-Lease % 2024`)
Re: How to Bring In Microsoft Intune and Microsoft Purview Data
Domo doesn't have a direct connector for those however you could attempt to utilize the JSON No Code type connector to see if you can get the data that way. Alternatively you can write your own custom connector:
Re: ETL calculation to work out hours taken from a start and finish timestamp
@robdmitchell There are a couple different ways you could do this in MagicETL:
- Date Operations Tile: Use the Difference between dates operation, with hours as the unit of measurement
- Formula Tile: Add a field with the following formula:
DATEDIFF(`DateTimeOff`,`DateTimeOn`)*24 + TIME_TO_SEC(TIMEDIFF(`DateTimeOff`,`DateTimeOn`))/(60*60)





