Formulassss
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
How would I create a formulas for the below---I think I have it but want to make sure
1.
formula for 1 [LAST_PAY_DATE] within 12 months and [curr_bal subtract CR-LM] >=130 overlimit
2.
CR_BL >=0.9* CE_LM, CR_BL >=30, and [LAST_VL] is blank AND at least 2 [CONSTPAT] in 61 days or [CONNTE] = 2.
thanks
Solved! Go to Solution.
- Labels:
- Reporting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Hi2023 can you re-arrange your formula like the condition and result, the above formula is confusing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Sorry-is this better?
[LAST_PAY_DATE] =1 and within 12 months (Dynamic Date Filter)?
and [curr_bal] (subtract) [CR-LM] >=130
Second Formula:
[CR_BL] >=0.9* [CE_LM]
and [CR_BL] >=30
and [LAST_VL] is blank
and [CONSTPAT] =2 or more
(date range within) 61 days OR [CONNTE] = 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Hi2023 Based on the above condition the filter can be written as
DateTimeDiff(DateTimeToday(),[LAST_PAY_DATE],'month')<= 12
AND [curr_bal] - [CR-LM] >=130
[CR_BL] >= 0.9 * [CE_LM]
AND [CR_BL] >=30
AND isEmpty([LAST_VL])
AND [CONSTPAT] >= 2
AND (DateTimeDiff(DateTimeToday(),[LAST_PAY_DATE],'day')<= 61
OR
[CONNTE] = 2)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
TY!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
For the date fields - it has nulls still in those columns even with a data cleanse tool. Do you know why? or how to remove?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Hi2023 Do you have any condition to add in the formula for NULL Dates? I mean if the Date field is NULL what should be done?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
No, I do not. It should be blank but its only a few that null in those columns so I used a data cleanse but it didnt work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Hi2023 Data Cleansing tool remove NULL values if the entire row or column is NULL else it will not remove. If you do not want those NULL values then add a filter tool before the Formula tool and filter out the Date field with Null values ( in the condition select the date field and "not null" option from the drop down
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
But doesnt this remove this field altogther? I still need it to be ther e bc I need it for other formulas I have
