This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hello,
I would like to get concatenated year week in table visual in Power BI. Having column Week number. I got this result:
Seems year week is unsorted. I used this formula to for column Year week.
Solved! Go to Solution.
Hi @Analitika,
You can add a calculated column to extract the year and week number value from the date to concatenate and convert to numeric, then these values can be sorted by ASC/DESC order on your visuals.
YearWeek =
YEAR ( 'Table'[Date] ) * 100
+ WEEKNUM ( 'Table'[Date], 2 )
Regards,
Xiaoxin Sheng
Hello,
I would like to ask how I can sort ascending column which is constructed from year and week. I am getting year week column but sorting is not as in normal case. For example,
Hi @Analitika,
You can add a calculated column to extract the year and week number value from the date to concatenate and convert to numeric, then these values can be sorted by ASC/DESC order on your visuals.
YearWeek =
YEAR ( 'Table'[Date] ) * 100
+ WEEKNUM ( 'Table'[Date], 2 )
Regards,
Xiaoxin Sheng
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |