
Anonymous
Not applicable
2017-03-20
12:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Create a dimension from 2 fields
Hi there,
i have a date field [CF Date de livraison] that is sometimes empty. I want to create a dimension named [Date prevue] where when the field [CF Date de livraison] is empty, it takes the value from the field [Date confirme].
Is it an if function and how is the syntax?
Thank you,
Lawrence
825 Views
4 Replies


Creator
2017-03-20
12:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would try an If Statement
If(isnull([CF Date de livraison]), [Date confirme])
Something like that.
709 Views

Specialist
2017-03-20
01:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If( isnull([CF Date de livraison]), [Date confirme],[CF Date de livraison]) as [Date prevue]
709 Views

MVP
2017-03-20
03:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If( len(trim( [CF Date de livraison] )) > 0,
[CF Date de livraison],
[Date confirme]
) as [Date prevue]
709 Views


MVP
2017-03-20
05:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Date(Alt( [CF Date de livraison] ,[Date confirme])) as [Date prevue]
Regards
Marco
709 Views
