How do I order days of the week correctly on a card?
I have a card that calculates which days of the week have the most phone calls, so we can optimize our Customer Service Reps. The data source has the day of the week a call was placed, but when I add them to the card, they show up alphabetical, or the day that has the most calls, but not in week order.
Best Answer
-
you need to bring a date field into the sort option box and select ascending order.
now, if you have a day of the week field as text that shows Monday, Tuesday, Wednesday etc
what you can do is to create a beastmode and use it for the sort option
the beastmode would be like this:
Case
When `YourTextField` = 'Monday' Then 1
When `YourTextField` = 'Tuesday' Then 2
When `YourTextField` = 'Wednesday' Then 3
When `YourTextField` = 'Thursday' Then 4
When `YourTextField` = 'Friday' Then 5
When `YourTextField` = 'Saturday' Then 6
When `YourTextField` = 'Sunday' Then 7
End
Domo Arigato!
**Say 'Thanks' by clicking the thumbs up in the post that helped you.
**Please mark the post that solves your problem as 'Accepted Solution'2
Categories
- 10.6K All Categories
- 1 APAC User Group
- 12 Welcome
- 36 Domo News
- 9.6K Using Domo
- 1.9K Dataflows
- 2.4K Card Building
- 2.2K Ideas Exchange
- 1.2K Connectors
- 339 Workbench
- 252 Domo Best Practices
- 11 Domo Certification
- 461 Domo Developer
- 47 Domo Everywhere
- 100 Apps
- 703 New to Domo
- 84 Dojo
- Domopalooza
- 1.1K 日本支部
- 4 道場-日本支部へようこそ
- 22 お知らせ
- 63 Kowaza
- 296 仲間に相談
- 649 ひらめき共有