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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
__Marc__
Frequent Visitor

Text columns with NULL are converted to empty text in datamodel

I have a dataflow entity that get it's data via a query from a MSSQL database. Some columns can have NULL values.

 

Looking at the result in the dataflow I see those NULL values appear.

 

In  the data model file get the data from the dataflow entity. When the column is not text, eg. a numeric or date column, then I see the NULL values correctly appear.

 

However for text columns, the NULL values are somehow automatically converted to empty text values. Everytime I have to inserted an extra replace step (empty text to NULL) to correct that, which is annoying.

 

Is there a way to correct this behaviour?

1 ACCEPTED SOLUTION
v-jianboli-msft
Community Support
Community Support

Hi @__Marc__ ,

 

According to my knowledge, your requirement could not be realized currently. When you change the data type to text, the null values will be converted to blank. An idea similar with what you expect has been submitted in the following link, please vote it up and you can add comments. What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

Please refer to:Microsoft Idea (powerbi.com)

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-jianboli-msft
Community Support
Community Support

Hi @__Marc__ ,

 

According to my knowledge, your requirement could not be realized currently. When you change the data type to text, the null values will be converted to blank. An idea similar with what you expect has been submitted in the following link, please vote it up and you can add comments. What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

Please refer to:Microsoft Idea (powerbi.com)

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors