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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
MEFOX
Helper III
Helper III

Sorting columns in stacked column chart

I have a stacked cloumn chart with Event Name on the axis. I want to be able to sort the columns by a date but when I try to select the StartDate field from the Sort By Column I get the error below. The startdate I'm trying to sort on is in the same table as the Event Names column. Is there another way to perform this sort?

 

MEFOX_1-1625154418341.png

 

MEFOX_0-1625154289308.png

 

1 REPLY 1
edhans
Community Champion
Community Champion

You need to have a sort column that is a 1:1 match with the column you are sorting. You probably have it set where you want to sort a column by date, but there are multiple dates per item. So the Event Name might have Jan 1, 2021 and Jan 2, 2021 associated with it. Won't work.

You need to come up with some logic that will be unique. A new column that is just year and month perhaps?

How to get good help fast. Help us help you.

How To Ask A Technical Question If you Really Want An Answer

How to Get Your Question Answered Quickly - Give us a good and concise explanation
How to provide sample data in the Power BI Forum - Provide data in a table format per the link, or share an Excel/CSV file via OneDrive, Dropbox, etc.. Provide expected output using a screenshot of Excel or other image. Do not provide a screenshot of the source data. I cannot paste an image into Power BI tables.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.