Forum Discussion
Count e-mail addresses
- 2 years ago
Because some cell is null in Group.Owners column, you can use following code:
List.Count(Text.PositionOf([Group.Owners] ?? "", "@", Occurrence.All))
Add a custom column,use following code:
List.Count(Text.PositionOf([Group.Owners], "@", Occurrence.All))
Oh, great solution, but I get this error:
Expression.Error: We cannot convert the value null to type Text.
Details:
Value=
Type=[Type]
- ZhangKun2 years agoSuper User
Because some cell is null in Group.Owners column, you can use following code:
List.Count(Text.PositionOf([Group.Owners] ?? "", "@", Occurrence.All))- MathildaBackman2 years agoHelper I
Works well no. Just needed to click "Don't summerize" when I added the values from that column in my table.
Thank you for the code and the help. - Papermain2 years agoFrequent Visitor
I can see the ?? "" replaces the null values with empty text. Is there any documentation available about what the ?? exactly does and if there are other options as well? I cannot find anything and was not aware of this functionality
- ZhangKun2 years agoSuper User
you search "Coalesce" in this pageOperator behavior