Best Of
Re: How to create a stacked bar chart?
Go to the "Vertical Bar" section in Chart Types → Select "Bar" and then add a series to it and it will be a stacked bar!
Re: How to create a stacked bar chart?
@muahmmad_zaidi The stacked bar chart type is listed under "Bar", and is the first option listed under Popular Charts
Re: Build a Data Time field from columns containing date, hour, minute, second
I figured it out… here is the SQL for anyone else trying to do the same:
STR_TO_DATE(CONCAT(DATE_FORMAT(Date Updated, '%b %e, %Y'), ' ', TIME_FORMAT(SEC_TO_TIME(Time Updated), '%h:%i:%s %p')), '%b %e, %Y %h:%i:%s %p')
swagner
Re: GA4 campaign and session campaign data Joining question
@jakebutterfield You are correct that nulls are populating after the join because the right table has fewer unique values in the Campaign field than the Session Campaign field in the left table. Left joins return all rows from the table on the left, regardless of whether it matches any rows in the right table. If a match is not found, then the output columns from the right table will be null.
I'm not familiar with Google Analytics data, but I would suggest reviewing your connector settings and upstream dataflows to make sure there are no other reasons why there are so fewer "Campaign" values than "Session Campaign"
Re: Date format question
@Aag2023 What do the valid date values look like in Domo? You will likely need to use a STR_TO_DATE() function to parse it into a date field yourself
Re: Group by when using case statements?
@user046467 can you post a sample of what the dataset you have looks like? As Grant said, you can do a lot with Windows functions (or the Fixed function) but there are limitations for which pre-aggregating needs to happen at a ETL level, but without fully understanding what your data looks like, we're mostly guessing in the dark. (I fear there might be an easy answer we might be overlooking due to lack of insights on the data)







