Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi
Im trying to run a MID where starting points depends on every row, that's why is link to column instead of having a fixed value. But for some reason, I get an error. You know how can I make it work?
Solved! Go to Solution.
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.
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.