Forum Discussion
Relationship with Unique Value
- 9 years ago
Anonymous,
Enclose 1 with double quotes (").
Column = IF ( [Master Column] = "", "1", [Master Column] )
Anonymous
1. are they all the same case?
2. do you have any blank values?
power query sees different cases as unique values, dax doesn't. hence remove duplicates no working
also if there are blanks on the side that should be unique you need to pad them with a value like unknown or -1 or something similar.
I have one row that contains a blank value, How would I go about padding this with a 1? I have tried to just create a new column by using:
=if([Master Column]="",1,[Master Column].
With this I am recieving an "Expressions that yield a varient data-type cannot be used to define calculated columns" error.
- vanessafvg9 years ago
Community Champion
Anonymous IF ( ISBLANK ( [Master Column] ), 1, [Master Column] )
- Anonymous9 years agoNot applicable
The formula returns the same error that I was returned previously for me.
- v-chuncz-msft9 years ago
Community Support
Anonymous,
Enclose 1 with double quotes (").
Column = IF ( [Master Column] = "", "1", [Master Column] )