Forum Discussion
MathildaBackman
2 years agoHelper I
Count e-mail addresses
I have a table that contains different SharePoint sites. I have a column called Group.Owners where I have the e-mail address to the owner/owners of that site. There can be none, one or multiple e-m...
- 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))
ZhangKun
2 years agoSuper User
Add a custom column,use following code:
List.Count(Text.PositionOf([Group.Owners], "@", Occurrence.All))
- MathildaBackman2 years agoHelper I
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.