Forum Discussion
MID function with a dynamic start point
- 7 years ago
Hi Anonymous ,
I'm apologize that this formula lacks a ")". Please try the formula again.
Column = IF ( ISERROR ( MID ( 'Campaign (1)'[Labels on Campaign], 'Campaign (1)'[A], 10 ) ), BLANK (), MID ( 'Campaign (1)'[Labels on Campaign], 'Campaign (1)'[A], 10 ) )Best Regards,
Xue
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous ,
Please check if there is null and zero in the column of A. The positions start at 1. So null values and zero are not supported. This is the document of MID you can reference.
Column = IF(ISERROR(MID('Campaign (1)'[Labels on Campaign], 'Campaign (1)'[A], 10),BLANK(),MID('Campaign (1)'[Labels on Campaign], 'Campaign (1)'[A], 10))Best Regards,
Xue
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks, Xue
I tried your formula but didn't work.
I've checked and column A has some blank cells.
- v-xuding-msft7 years agoCommunity Support
Hi Anonymous ,
I'm apologize that this formula lacks a ")". Please try the formula again.
Column = IF ( ISERROR ( MID ( 'Campaign (1)'[Labels on Campaign], 'Campaign (1)'[A], 10 ) ), BLANK (), MID ( 'Campaign (1)'[Labels on Campaign], 'Campaign (1)'[A], 10 ) )Best Regards,
Xue
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.