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
Anonymous
Not applicable

All data is null

Hi all, 

 

I am encountering null for all my values in power query in dekstop.  

My excel/sharepoint file is fine and has all the information. 

 

What is the problem here? Please see below screenshot. 

 

christianadaa_0-1661472685117.png

 

Thank you. 

1 ACCEPTED SOLUTION
ToddChitt
Super User
Super User

Sorted Rows in Power Query will not affect sorting of data in Visuals. The ONLY reason to have Sorted Rows in Power Query is if the sorting is needed for something like a Row Number column or Running Total, where the order is important. In your charts and graphs, you always have the ability to sort by some column in the visual.

Try removing the Sort operation to make your query go faster.

Now to your issue, try filtering the data to remove NULLs. I bet this is Excel data, which is infamous for having extra rows and columns that nobody wants.




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





View solution in original post

4 REPLIES 4
ToddChitt
Super User
Super User

Sorted Rows in Power Query will not affect sorting of data in Visuals. The ONLY reason to have Sorted Rows in Power Query is if the sorting is needed for something like a Row Number column or Running Total, where the order is important. In your charts and graphs, you always have the ability to sort by some column in the visual.

Try removing the Sort operation to make your query go faster.

Now to your issue, try filtering the data to remove NULLs. I bet this is Excel data, which is infamous for having extra rows and columns that nobody wants.




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





Anonymous
Not applicable

Thank you for your help @ToddChitt

 

I removed both Sorted Rows and the data is displaying in power query now. Visuals are unaffected as you predicted. Thank you! 

 

I can see now in my data section (not power query) my data is blank - would you know the reason for this? Please see screenshot below. 

 

christianadaa_0-1661815599798.png

 

ToddChitt
Super User
Super User

Try stepping through the Applied Steps, seeing what each one returns in the data grid. Find out where those NULLS show up.




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





Anonymous
Not applicable

Hi @ToddChitt,

 

Thank you. It looks like the 'Sorted Rows' applied step is returning the null values. Please see below. 

If I remove this step, I might mess up following steps which are crucial for my visuals. What is the best way to go about this? 

 

christianadaa_0-1661731067957.png

 

Data is showing with step previous to 'Sorted Rows'

christianadaa_1-1661731104233.png

 

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.