Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
Hi so I have the following matrix.
I would like to sort in the following way based on this dimension table
I go to Sort by Column and select the Base Act Order column but my dates in my matrix do not update to this new ordering.
In my matrix I have added Period in the left column then, I am trying to sort by Base Act Order.
Is there something I'm doing wrong? Why am I not getting the expected result?
Solved! Go to Solution.
Found my own janky solution.
It was because of date data type.
In the query I set the Period/Date column to text type then I was able to sort by my Base Act Order column.
I took it a step further and added a conditional column in the query to find columns that begin with 1/1, 2/1, 3/1, etc and added the month name then switched it back to date type after the conditional column step.
My matrix and graphs are now sorting correctly.
If anyone has a better solution I'd be happy to hear.
Hi @NickDSL
You can create a measure
Measure = RANKX(ALLSELECTED('Table'),CALCULATE(SUM('Table'[Column1])),,ASC)
Then close the "Text wrap" of the "Column header" in table visual
Then put the measure to the visual and set its width to 0
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Found my own janky solution.
It was because of date data type.
In the query I set the Period/Date column to text type then I was able to sort by my Base Act Order column.
I took it a step further and added a conditional column in the query to find columns that begin with 1/1, 2/1, 3/1, etc and added the month name then switched it back to date type after the conditional column step.
My matrix and graphs are now sorting correctly.
If anyone has a better solution I'd be happy to hear.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 37 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 67 | |
| 34 | |
| 33 | |
| 30 |