Forum Discussion

mw_'s avatar
mw_
New Member
1 year ago
Solved

Sort Bar Graph in Power BI by Year

Hi there!   I am struggling to sort my bar graph by year in my Power BI dashboard. I searched and searched and every solution I find does not apply / the option does not exist. Could anyone direct ...
  • Shravan133's avatar
    1 year ago

    Make sure your year column is numeric or date datatype. 

    If you’re using a "Year" label that is textual but want it to follow a specific order:

    1. Create a new column like YearNumber = VALUE([Year]) (if it’s not already numeric).

    2. Go to the “Year” column in Data view.

    3. Select Sort by Column → choose your YearNumber column.