Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello, I am trying to replicate this Tableau table in PowerBI:
I'm almost there, but I'm struggling to get that ascending sort, broken down by 2021, working.
I've already tried to 'sort by column' using Year, but I receive the error:
So I'm out of ideas, can anyone help?
Hello @Breen,
Add Column as year in your PowerQuery as number format. Close & Apply.
And select your one required column and sort by column that you added column on power query side.
İf you added a column on dax(new column) that doesn't make sort by columns(Not all columns but some referance columns)
Best Regards,
Gökberk Uzuntaş
LinkedIn: https://www.linkedin.com/in/g%C3%B6kberk-uzunta%C5%9F-b43906198/
Medium: https://medium.com/@uzuntasgokberk
İf this post helps, then please consider Accept it as solution and kudos to help the other members find it more quickly.
Hi, thanks for your comment.
Unfortunately, the 'application year string' column can contain the year '2020a', which is going to prevent me from using the number format. What else would you suggest?
you can check in the data, if there two columns are one to one relationship. If one value in the column has different corresponding values. Then you can not do the sort by and will get the error message.
Proud to be a Super User!
Hi, looks like you're right. How could I resolve this?
It's worth me mentioning that 'application year string' can hold strings like '2020a'.
then you have to clean the data and change 2020a to 2020.
Maybe you can provide some sample data, let's see how we can clean your data automatically.
Proud to be a Super User!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
71 | |
57 | |
38 | |
36 |
User | Count |
---|---|
82 | |
67 | |
61 | |
46 | |
45 |