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.
I have a matrix which shows week code in the columns. This is in this format:
202106 202107 202108
Due to space constraints I want to truncate the year and show it like this:
06 07 08
I do have a column with data in this format (week number), but I can't use it for two reasons:
* 202106 and 202006 aggregate together into one value
* It does not order correctly (I cannot apply the weekcode as an order by to the week due to cardinality)
For example my order should be like this:
28 29 30 ..... 50 51 52 01 02 03 04
not this:
01 02 03 04 28 29 30
Ideas I have tried:
A. Nesting years into the columns (you can't nest columns on a matrix, only rows)
B. Applying a funky custom numeric format to replace the first four numbers with nothing (can't get it to work)
C. Using the actual date column with custom format ww (pretty sure this isn't supported in Power BI)
I effectively need a "label" against a "code" but it doesn't look like this is possible as the label is closely linked with the actual underlying data
Any ideas?
Solved! Go to Solution.
@NickMcDermaid , I think the first one should work.
Take both Year and Week on Column. And use reverse square Y sign( for columns, if needed) and expand it, and save
Thanks! It worked! I was a little puzzled by your comment but let me explain it in detail for anyone else.
It turns out you can nest things in columns.
1. Nest "Year" above "Week" in columns
2. You only see Year in the columns
3. Press the "expand all down one level in the hierarchy" button (yes it look like an upside down square Y with arrows on it)
@NickMcDermaid , I think the first one should work.
Take both Year and Week on Column. And use reverse square Y sign( for columns, if needed) and expand it, and save
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 |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |