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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
tearless
Regular Visitor

Path error

Not sure why Path function works well when the column values are numbers but does not work when the column values are text. Could you please help me with this?

tearless_0-1724041166135.png

 

tearless_1-1724041202357.png

 

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi,

I assume the first table with blank has a value (blank-value) in column2, while the second table column2 blank shows null value.

Please try changing the blank-value like below in power query editor and then I believe you can see the expected result.

 

Jihwan_Kim_0-1724042139584.png

 

Jihwan_Kim_1-1724042156013.png

 

 

 


 

    Microsoft MVP
 

 

   


      If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


   


     
        LinkedInVisit my LinkedIn page
     

   


   


     
        Outlook BookingSchedule a short Teams meeting to discuss your question

     

   


 


View solution in original post

3 REPLIES 3
tearless
Regular Visitor

@Jihwan_Kim Thank you for the solution. It worked well with the dataset I attached above. However, when I replace the empty value with null in the actual (large) dataset, it does not replace the value... 

tearless_0-1724043656199.pngtearless_1-1724043701974.png

 

When I leave the query editor, the data does not change while the view shows it is replacerd with null as you see above. 

 

What am I doing wrong?

Hi,

Thank you for your message, and please share your sample pbix file's link (onedrive link, dropbox link, or others), and then I can try to look into it.

Thank you.


 

    Microsoft MVP
 

 

   


      If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


   


     
        LinkedInVisit my LinkedIn page
     

   


   


     
        Outlook BookingSchedule a short Teams meeting to discuss your question

     

   


 


Jihwan_Kim
Super User
Super User

Hi,

I assume the first table with blank has a value (blank-value) in column2, while the second table column2 blank shows null value.

Please try changing the blank-value like below in power query editor and then I believe you can see the expected result.

 

Jihwan_Kim_0-1724042139584.png

 

Jihwan_Kim_1-1724042156013.png

 

 

 


 

    Microsoft MVP
 

 

   


      If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


   


     
        LinkedInVisit my LinkedIn page
     

   


   


     
        Outlook BookingSchedule a short Teams meeting to discuss your question

     

   


 


Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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