Best Of
Re: Case statement with multiple conditions
@renee12345 It looks like you're just trying to find the first exclusion reason that isn't null. You'll want use the COALESCE() function:
COALESCE('exclusion reason 1','exclusion reason 2',…)
COALESCE looks through the first field listed and if it's null, moves on to the next field, and repeats the process until it finds a non-null value.
Re: Colour change depending if beating last years amounts
#1 - Structure your data like this ( ie add a column called LY Amount )
#2 - Create some fancy beast mode calcs
#3 - Define the color rules
#4 - And finally… hack the hell out of the Line + stacked bar chart.
Tadaaaaaa
michiko
Re: Rank and Windowing functions in beast mode
@dacorson re: case sensitivity.
keep in mind that Analyzer is a UI for building viz AND defining queries that get to SQL. it is possible (though I am uncertain) that when you create a beast mode that the validator checks for case sensitivity; however the database itself is not case sensitive for column names.
i don't know. but i could see it being true. for sure the collation is case sensitive insofar as if you search for column LIKE 'aBC' will not yield the same results as column LIKE 'ABC'
Re: Cleaning data off an appending dataset
@user045907 - Have you considered using dataset views to filter the data to only the rows you want to keep?
Be a Friend! 'Accept' your Peer's Answers.
Hello Domo Community!
You have all been nailing it in the forum lately! Responses have been LIGHTNING⚡️fast and each post is getting at least one comment.
By way of reminder, don't forget to click the 'YES' button if a user answers your question. This is a great way to recognize your peers and help them accrue points on the forum!
If a comment does not answer your question, you can click the 'NO' button and then leave a comment explaining why. This way, more members can continue to help you find a solution to your problem.
Remember to always appreciate the people who take time out of their busy day to help you. A great way to do this is to leave a reaction 💙 on the comments or posts that deserve recognition.
Keep up the good work everyone!
-Grant
Re: Color Coding or conditional formatting in DOMO?
If you are using a mega table, you can create beast modes that color the numbers like this:
CASE WHEN budget > actual then concat('<div style="color: #ff0000">',`budget`,'</div>')
else
concat('<div style="color: #00ff00">',`budget`,'</div>')
end
This would turn the budget red if it is higher, otherwise it will be green.
Re: Convert text to date field using
First I would make sure that the column is included in the select columns tile at the end of the ETL. Next, I would edit the card in Analyzer and click on the Date Range selector in the top right. Ensure that Hide Date on Card Details is not selected and that the appropriate Date Range Field is selected.
Re: Convert text to date field using
Since your field only contains the month and the year, I recommend using the split_part and concat function to pull out the month and year and set it to the 1st of the month. You can do it like this:
DATE(CONCAT(split_part(Monthfield,'-',1),'/1/',split_part(Monthfield,'-',2)))
Wrapping the DATE() function around all of it will convert it to a date field after it has built the date.
Re: Convert text to date field using
Thanks Mark and Grand for your support, I was able to get the Data Range on my chart, it appears I didn't have all the columns selected at the end of the ETL.











