Best Of
Re: SALT LAKE CITY CONNECTIONS TOUR CHECK IN
Hey hey! Loving the Connections Tour so far!
Re: Working with hh:mm:ss values
I took your sample times and was able to add them up using the following in Magic ETL:
Your group by would likely look different than mine, likely some sort of event id or something.
I used split_part to break out the individual time elements and get a total number of seconds and then use the group by to sum it up. The next formula tile breaks it back out to the individual time elements and the concatenate them together. I use Floor to get the highest whole number and then convert it to an integer so that it is a whole number.
Re: Unpivot
Hello @verytiredgirl,
You can do it in several steps. Here is the example data:
First, make Dynamic unpivot:
Split the unpivoted column into two columns: one for dates and one for types:
Change the format of the 'Date' column into Date with the Alter Columns tile:
And finally, pivot the 'Type' column:
Here is the result:
I hope this answers your question ;)
Re: Sorting Day of Week on the X-Axis
You’d need to create another beast mode with a case statement to return a numerical value for the day and order you want
CASE WHEN DAYNAME(`date`) = 'Sunday' then 8 ELSE DAYOFWEEK(`date`) end
DAYOFWEEK returns 1-7 for Sunday-Saturday the case statement just shifts Sunday to 8 so it’s last
Put this beast mode in your sorting section on your card to then order your days
Re: Extra 0 bar in bar chart with beast mode
Hi @rupinderkaur87,
First, you have to Unpivot in ETL. Then It should work with a simple COUNT. Here is the same table:
Dynamic Unpivot in ETL:
Result table:
Bar chart:



















