Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Tob_P
Helper V
Helper V

List.Count(Text.PositionOf

Hi,

 

I have the following Conditional Column looking for the count of occurrences of a CQ prefix.

 

TobPDELETE2.png

The Quote No column can also have prefixes of BOQ or DQ. So when I refresh my table, I return many thousands of errors for the fields that contain BOQ or DQ. Can anyone advise of an amendment to make to the custom column formula that would ignore DQ/BOQ and stop the errors?

 

Thank you.

1 ACCEPTED SOLUTION
Tob_P
Helper V
Helper V

@HotChilli 

 

Thanks for coming back to me. Closer inspection revealed the errors where because there were blank values in the column which were being treated as null values which was causing the error. Replaced null with blanks and problem solved.

 

Probably should have investigated a bit more before I post here!

View solution in original post

2 REPLIES 2
Tob_P
Helper V
Helper V

@HotChilli 

 

Thanks for coming back to me. Closer inspection revealed the errors where because there were blank values in the column which were being treated as null values which was causing the error. Replaced null with blanks and problem solved.

 

Probably should have investigated a bit more before I post here!

HotChilli
Super User
Super User

Can you provide some sample data and explain more clearly what the problem is?

The code is looking for "CQ" and doesn't refer to BOQ or DQ.  What errors are you receiving?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.