Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi
Can someone please tell me how I swap 2017 and 2018 in the date column in a matrix table?
Currently 2017 is showing first. I want 2018 to show first, followed by 2017.
Please see imgur here: https://imgur.com/a/GZOSifR (try coping and pasting into search browser)
Thanks!
Solved! Go to Solution.
Hi @gussiie,
Normally, matrix column header is not supported for sort by in power bi currently.
You could try this workaround below and have a reference of this blog.
1. Create a table with date and index
2. Create the relationship between the tables and create the calculated column year.
3. Sort calcualted column year by Index.
4. Create the matrix with calculated column year and Date hierarchy Quarter as column.
More details, you could refer to this attachment.
Best Regards,
Cherry
Hi @gussiie,
Unfornately, I cannot open your shared URL, it seems to be a 404 page.
In addition, I'm a little confused about your requirement. Do you want to show the matrix with 2018 data first then show 2017 data?
If it is, you could create the date Slicer with Year column to filter the matrix data.
In addition, you also could use Bookmark feature to achieve your requirement.
If you still need help, please share some data sample and your desired output so that we could help further on it.
Best Regards,
Cherry
Hi
Thanks for your response. I am not sure what you mean by slicer but I simply want to swap the below picture around so 2018 is first.
Can you please direct me on how to do this.
Thanks.
Hi @gussiie,
It seems that you want to get the output like below.
If it is, please click the more option and select Sort Descending, check if this could achieve your requirement.
Best Regards,
Cherry
Hi
This does not work. It will only sort the rows or values. It does not sort the columns or give me an option to sort date by descending.
Are there any other ways?
Hi @gussiie,
Normally, matrix column header is not supported for sort by in power bi currently.
You could try this workaround below and have a reference of this blog.
1. Create a table with date and index
2. Create the relationship between the tables and create the calculated column year.
3. Sort calcualted column year by Index.
4. Create the matrix with calculated column year and Date hierarchy Quarter as column.
More details, you could refer to this attachment.
Best Regards,
Cherry
Thank you so much!
I love this community!
Hi @gussiie,
You're welcome!
Best Regards,
Cherry
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
84 | |
67 | |
60 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |