Forum Discussion
conditionally duplicate column
- Anonymous9 years ago
Anonymous You can create a calculated column to do this. It would look something like this (Substitute your actual table and field names.
NewGroup = IF('Table1'[group] = BLANK(), 'Table1'[Num], 'Table1'[group])
- 9 years ago
Hi Anonymous,
= IF('Combined PDAR'[Connection ID] = BLANK(), 'Combined PDAR'{Entity ID],'Combined PDAR'[Connection ID])
In addition, also change "{" to "[" in the formula.:smileyhappy:
= IF ( 'Combined PDAR'[Connection ID] = BLANK (), 'Combined PDAR'[Entity ID], 'Combined PDAR'[Connection ID] )Regards
Anonymous You are missing the final part of the formula
= IF('Combined PDAR'[Connection ID] = BLANK(), 'Combined PDAR'{Entity ID],'Combined PDAR'[Connection ID])
essentially you are saying: If the "Connection ID" is blank, use the "Entity ID", otherwise use the "Connection ID"
Hi Anonymous,
= IF('Combined PDAR'[Connection ID] = BLANK(), 'Combined PDAR'{Entity ID],'Combined PDAR'[Connection ID])
In addition, also change "{" to "[" in the formula.:smileyhappy:
=
IF (
'Combined PDAR'[Connection ID] = BLANK (),
'Combined PDAR'[Entity ID],
'Combined PDAR'[Connection ID]
)
Regards