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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.