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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
Community Champion
Community Champion

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.