new user with simple AR questions
Best Answers
-
You might be able to acheive what you are looking for by creating a beast mode and by using something similar to the following:
Beast mode name: AR Status
case when DATEDIFF(CURRENT_DATE(),`Due Date Field`)<=30 then '(0-30 days)'
when DATEDIFF(CURRENT_DATE(),`Due Date Field`)>30 AND DATEDIFF(CURRENT_DATE(),`Due Date Field`)<=60 then '(30-60 days)'when DATEDIFF(CURRENT_DATE(),`Due Date Field`)>60 AND DATEDIFF(CURRENT_DATE(),`Due Date Field`)<=90 then 'Past Due (60-90 days)'
when DATEDIFF(CURRENT_DATE(),`Due Date Field`)>90 then 'Past Due (90+ days)'
endFor your horizontal stacked bar or grouped bar, you can insert this as your series and then set color rules as the following:
AR Status = (0-30 days) (Green)
AR Status = (30-60 days) (light green)
and so on...
1 -
For Card #2, I changed the formula a little bit but wouldn't have found this without your help - thanks
(CASE when CURRENT_DATE()>`DueDate` then CURRENT_DATE() else `DueDate` end)
1 -
Thanks! I understand that what this did was identify the status of the invoices by due date and color accordingly. Works perfectly!
1
Answers
-
For card 1, what is your desired output chart type?
0 -
horizontal bar graph. I would like to see the bar show current as green, 30 day as light green, 60 day yellow, 90+ as red.
0 -
You might be able to acheive what you are looking for by creating a beast mode and by using something similar to the following:
Beast mode name: AR Status
case when DATEDIFF(CURRENT_DATE(),`Due Date Field`)<=30 then '(0-30 days)'
when DATEDIFF(CURRENT_DATE(),`Due Date Field`)>30 AND DATEDIFF(CURRENT_DATE(),`Due Date Field`)<=60 then '(30-60 days)'when DATEDIFF(CURRENT_DATE(),`Due Date Field`)>60 AND DATEDIFF(CURRENT_DATE(),`Due Date Field`)<=90 then 'Past Due (60-90 days)'
when DATEDIFF(CURRENT_DATE(),`Due Date Field`)>90 then 'Past Due (90+ days)'
endFor your horizontal stacked bar or grouped bar, you can insert this as your series and then set color rules as the following:
AR Status = (0-30 days) (Green)
AR Status = (30-60 days) (light green)
and so on...
1 -
For your second card, you apply the same type of beast mode logic:
Beast Mode Name: Past Due Trigger
CASE WHEN DATEDIFF(CURRENT_DATE(),`Due Date Field`)>30 then 1 end
Then make Past Due Trigger a filter and set the filter equal to 1
1 -
For Card #2, I changed the formula a little bit but wouldn't have found this without your help - thanks
(CASE when CURRENT_DATE()>`DueDate` then CURRENT_DATE() else `DueDate` end)
1 -
Thanks! I understand that what this did was identify the status of the invoices by due date and color accordingly. Works perfectly!
1
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive