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
powerbiwork
Helper I
Helper I

PowerBI Removes Rows if Column is null

Hi so I import my data from salesforce but I notice when I try to remove unwanted column some of my rows disappear. Is this because PBI removes rows with nulls if so how do I get it to not remove the row when there are nulls.

 

Thanks

1 ACCEPTED SOLUTION

hi again

its really hard to say whats hppening without being able to see what you doing.

 

Where are you removing the columns in power query?  its impossible to diagnose your issue without sharing how you are doing this.

 

in the transform data it will only show you the first 200 rows of data.

 

If you import all the data without remove columns does it give you 155 000?

then when you remove columns in transform data you only have 6000.

 

the only reason this could be happening is that when you remove the columns you remove the granularity, ie the detail.  But like i say very difficult do diagnose with the limited information you are giving,  Please share some screenshots with the issue.

 

Are you bringing back master data or transactional data? are you pulling views from sales force or tables?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




View solution in original post

5 REPLIES 5
PhilipTreacy
Super User
Super User

Hi @powerbiwork 

Please share the query steps (M code) so I can see what else is going on.

Thanks

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


vanessafvg
Super User
Super User

can you explain how you are doing this?  rows will only disappear if you remove null values, it wont remove rows when you remove a column.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




So import data from Saleforce there are about 155,000 rows when I choose the columns in transform data the the 155,000 rows turn into 6,000 rows only lets say

hi again

its really hard to say whats hppening without being able to see what you doing.

 

Where are you removing the columns in power query?  its impossible to diagnose your issue without sharing how you are doing this.

 

in the transform data it will only show you the first 200 rows of data.

 

If you import all the data without remove columns does it give you 155 000?

then when you remove columns in transform data you only have 6000.

 

the only reason this could be happening is that when you remove the columns you remove the granularity, ie the detail.  But like i say very difficult do diagnose with the limited information you are giving,  Please share some screenshots with the issue.

 

Are you bringing back master data or transactional data? are you pulling views from sales force or tables?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




I am pulling from salesforce. The full set of data have about 155,000 rows

powerbiwork_0-1608156981533.png

but after I choose columns in transform data

powerbiwork_1-1608157053549.png

it only come back with 2,477 rows 

powerbiwork_2-1608157060796.png

 

 

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.