
Not applicable
2009-11-20
04:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Selecting Null Values in Set Analysis
I am trying get the amend the expression below to also select records where Cancelled_Date is null.
Is this possible?
=Sum({<[Cancelled_Date]={">$(=getfieldselections(Period))"}>}[Contract_Fee])
1,897 Views
3 Replies

Not applicable
2009-11-20
04:03 PM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If so, you should be able to use Null() for that. It returns null.
Or IsNULL() which returns a boolean on checking if some expression returns null.
You can use Null() like this: IF ([Cancelled_Date]=Null(), ...
751 Views

Not applicable
2009-11-20
04:41 PM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can get results where Cancelled Date is null by using:
Sum({<[Cancelled_Date]={""}>}[Contract_Fee])
To get both, I think you can use:
Sum({<[Cancelled_Date]={">$(=getfieldselections(Period))", ""}>}[Contract_Fee])
I tried it on a simpler Set Modifier and it worked, but I've never used that in practice.
751 Views

Not applicable
2009-11-20
07:19 PM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have tried a few different ways with no luck so I am using
Sum
Instead
Thanks for your help
({1-$<[Cancelled_Date]={"<$(=getfieldselections(Period))"}>}[Contract_Fee])
751 Views
