最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How do I remove the first character from a column with a Bold BI Expression? - Stack Overflow

programmeradmin0浏览0评论

I would like to remove the first character from the values of a column within a Bold BI expression. For example, *abc -> abc.

Bold BI's documentation for string expressions mentions a LEFT function to remove characters from the start of a string, but I'm looking to keep everything except for the first character.

I would like to remove the first character from the values of a column within a Bold BI expression. For example, *abc -> abc.

Bold BI's documentation for string expressions mentions a LEFT function to remove characters from the start of a string, but I'm looking to keep everything except for the first character.

Share Improve this question asked Mar 18 at 18:40 StevoisiakStevoisiak 27k32 gold badges136 silver badges239 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

You can combine RIGHT() and LEN(), similar to how you would in SQL.

RIGHT([ColumnName], LEN([ColumnName]) -1)

The function RIGHT() takes two arguments, the string you want to modify and the number of characters to keep from the end of the string. LEN() returns the length of the string, so we subtract the number of characters we want to remove, which is 1 in this case.

发布评论

评论列表(0)

  1. 暂无评论