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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Dadii
Regular Visitor

We cannot convert the value null to type Logical (M scrip)

Kindly help me! 

I found dataflow running "Failed" Error: PipelineException: We cannot convert the value null to type Logical. . RootActivityId = 575cdb0d-3058-404f-adb9-0e0f0393c4d6.Param1 = PipelineException: We cannot convert the value null to type Logical. Request ID: 0c63b0e7-f532-4f93-bcc1-1e166c8f99ab.

I have none skill M scrip. Which line Error?

Image 12.jpg

 

 

3 REPLIES 3
lbendlin
Super User
Super User

Start from the back of the query. Eliminate steps one by one until the error is no longer raised. (make sure to back up the query before this).

 

If you have no M skills yet you may want to start with (much) simpler queries.

 

Dear Ibendlin

I think that this table is cannot convert the value null to type Logical. Kindly advise to solve.

Thanks

cannot convert the value null to type Logical.JPG

Learn about Value.Is() , Type.Is(), and the "try ... otherwise ... "  construct.  Note that all these require manual typing.  If you are new to Power Query then you may want to ask someone in your team with more experience to help you.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.