Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin 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)
Kind Regards,
Gökberk Uzuntaş
📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!
🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |
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!
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
60 | |
58 | |
56 | |
38 | |
28 |
User | Count |
---|---|
82 | |
62 | |
45 | |
41 | |
40 |