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
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
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors