This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hello,
I want to create a string like follows: "The opened calender weeks are CW21/CW20/CW19/CW18".
I have a column with starting with the latest calender week, like this:
CW21
CW20
CW19
CW18
CW17
CW16
CW15
...
I always need the first 4 lines (here: 21,20,19,18).
How can i get a string just like shown above?
Thanks!
Solved! Go to Solution.
Hi @Anonymous
I would be something like
"The opened calender weeks are " &
CONCATENATEX ( TOPN ( 4, VALUES ( TableName[Column1] ), DESC ), TableName[Column2], "/")
Hi @Anonymous
I would be something like
"The opened calender weeks are " &
CONCATENATEX ( TOPN ( 4, VALUES ( TableName[Column1] ), DESC ), TableName[Column2], "/")
Check out the April 2026 Power BI update to learn about new features.
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 |
|---|---|
| 36 | |
| 32 | |
| 31 | |
| 21 | |
| 15 |
| User | Count |
|---|---|
| 66 | |
| 56 | |
| 31 | |
| 27 | |
| 22 |