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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
gdps_vc
Helper I
Helper I

Dataflow Column Data Mismatch in Power BI Desktop

Gretting everyone!

I have a base structured in a dataflow, but when I import this base into Power BI Desktop, a specific column comes up with the wrong data (looking at the power query of the dataflow, it is correct).

 

Basically, I have a conditional column with the following formula:

 

 

"PCD_Sem_Detalhes", each if [PCD] = "" then "" else "X"

 

 

The formula works perfectly in the dataflow...

gdps_vc_0-1728994311808.png

 

However, when I import the table to the desktop, the column comes up with all the data filled with “X”.

gdps_vc_2-1728994560343.png

 

If I create the column with the same formula in Power BI Desktop, it works normally.

 

Any idea why this is happening?

 

Best regards,

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

my guess is there is some confusion/assumption around "" and null .  General guidance is to avoid the usage of ""  in favor of null.

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

my guess is there is some confusion/assumption around "" and null .  General guidance is to avoid the usage of ""  in favor of null.

tnks for the guidance @lbendlin 

 

Before create the column I replaced all "" for null. And now it works.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.