

Contributor
2017-10-12
10:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Set analysis show selection AND null values
Hi,
I have report and I want to show all records from a selection AND the null values of the selection.
So, suppose I have a list of cars and some cars have a defect. Now I want to show all cars which have no defects and those which have a flat tire.
CAR_ID | MAKE | YEAR | Defect |
---|---|---|---|
1 | VW | 2010 | - |
2 | VW | 2011 | flat tyre |
3 | Audi | 2009 | - |
4 | Audi | 2010 | - |
5 | Audi | 2010 | broken window |
6 | Trabant | 1989 | flat tyre |
When I select defect;broken window, I want to see next result
1 | VW | 2010 | - |
3 | Audi | 2009 | - |
4 | Audi | 2010 | - |
5 | Audi | 2010 | broken window |
How can I achieve this in Set Analysis without changing load script
tia
1,961 Views
1 Solution
Accepted Solutions

MVP
2017-10-12
04:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 Replies


Specialist
2017-10-12
04:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ronald,
Try this
IF(LEN(Concat(DISTINCT {$}Defect, '|'))<>0,Concat(DISTINCT {1}Defect, '|'), '-')
1,590 Views

MVP
2017-10-12
04:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
try
only({1-$<Defect={"*"}>+$} Defect)
