Forum Discussion
How to remove leading commas from the concatenated String
Hi Anonymous
Try this:
Comma Removal =
IF (
LEFT ( [List of Prod_Gateway_IP_Address values], 1 ) = ",",
MID (
[List of Prod_Gateway_IP_Address values],
2,
LEN ( [List of Prod_Gateway_IP_Address values] ) -1
),
[List of Prod_Gateway_IP_Address values]
)AlB ,
Thanks for the reply. I tried your method and it is giving the same results of my method . Please find the screen shot below . It is removing the Comma, but giving results in seperate rows . So i have concatenated "Comma Removal" again and it started giving commas again.
- AlB7 years ago
Community Champion
Anonymous
I don't understand what you are showing in that table or what you are trying to do. You'll have to explain it in detail and/or share the pbix. Otherwise I cannot help. Is that a table visual? hat fields are involved? From what table(s)? what is the structure of those tables? Is 'Comma removal' a measure? and [List of Prod_Gateway_IP_Address values]? I thought they were both calculated columns but it doesn't seem so.
- Anonymous7 years agoNot applicable
Hi AIb,
Sorry for not explaining it in detail. I explained it through screen shots and detail information below.
Firstly , the screen shot i have shown in previous discussion was the table ( Report output) . I have attached the screenshot explaining everything in Detail . Please let me know in case if anything else is required. As Companys data is there, I couldnt able to share pbix file.
- Anonymous7 years agoNot applicable
Hi ,
Does any have a solution or suggestions for this ?