Best Of
Re: What's wrong with this case when statement / how do case when's operate on the back end?
The issue is because your function is only going to return the week number variable when work date equals today. You can do this much simpler by using this as your beast mode:
case when `Week Number` = WEEKOFYEAR(CURRENT_DATE()) then 'Current Week' else 'Not Current Week' end
You could also choose to use your workdate field instead of your weeknumber field by changing your beast mode to this:
case when WEEKOFYEAR(`WorkDate`) = WEEKOFYEAR(CURRENT_DATE()) then 'Current Week' else 'Not Current Week' end
You can use whichever is easier for you to read.
Re: Rename filter values to "Other"
Hi @user000253
You can use a beast mode to create your custom buckets (Name 1 & Other) and use that as your quick filter.
CASE WHEN `name` = 'Name 1' THEN `name` ELSE 'Other' END
This is assuming your column is called 'name'
Re: Where I can find the "Saved post" metric in Facebook Advanced Ads Connector.
Thanks for your answer! I've got the metrics!

Re: Activation Time <10
Ah the reason I'm not a fan of TIMEDIFF. In cases like this I prefer to use UNIX_TIMESTAMP and math to calculate the difference in seconds between two different timestamps.
SUM((CASE WHEN ((UNIX_TIMESTAMP(`Start Time (UTC)`) - UNIX_TIMESTAMP(`Arrival Time (UTC)`)) / 60) <=10 THEN 1 END)) / SUM((CASE WHEN `Case Number` is not null then 1 end))
One question of clarification - If a start time comes 15 minutes before the arrival time (-15 minutes) should that be included since -15 < 10 or should it be excluded since the absolute duration is greater than 10? If it should be excluded you can wrap the subtraction in the ABS function to get the absolute value.
Re: "The Pivot Table is Only Showing Part of the Data" Error
Hi @GrantSmith, thank you very much for your help. I set the number of rows from "Filter and Sort" in Analyzer and I was able to solve our problem!

Re: Is it possible to create a graph with categorical levels?
You can create a beast mode and use that in your card instead of the field containing the number.
CASE WHEN number = 1 THEN 'Insufficient'
when number = 2 THEN 'Regular'
when number = 3 THEN 'Sufficient'
when number = 4 then 'Outstanding'
end
You'd replace "number" with whatever your field name is.

Re: Is it possible to create a graph with categorical levels?
Agree with @jaeW_at_Onyx . I often use a heat map for this type of work. See below.
Re: Is it possible to create a graph with categorical levels?
@ramoshe if you want categorical values on the X and Y axis you'd need a different chart type.
Consider a heat map. or pivot table
Re: "The Pivot Table is Only Showing Part of the Data" Error
For future reference this is mentioned just above the "Customizing Pivot Tables" section in the knowledge base: https://domohelp.domo.com/hc/en-us/articles/360043429473-Pivot-Table#3. By default there's a limit of 25,000 rows to display. See the section " What are the DataSet row limits for each chart type?" on this article: https://domohelp.domo.com/hc/en-us/articles/360042924214-Card-Building-FAQs
Re: Failed parse text 'NULL' from column 'Column Name' as type 'Date'
Alternatively with the new ETL 2.0 you can set the data type to be a time stamp directly on the Input Dataset Tile under the Configuration tab and then click the gear icon to define how to handle bad values - in your case you can select null: