Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
I need to create a string that compounds based on if there is a value in the column.
I have a table that has a different column for each course (if they have completed the course there is a 1 in that field, if not its blank). I would like to create a column that can immediately show all the courses the user has not completed. For this user it would show:
MTA506, MTA507, MTA508, MTA509, etc etc. (these end up being broken down into sections MTA501 - 505 & 506 - 510 & etc, I just cant figure out the overall logic)
Any suggestions? I think prefer it be in one field due since it will be in sections and only show for people in process of that secton anyway, so I can easily fit it on the current dashboard, but I'm open if there's a better way to do it!
Thanks!
@DemingPDCA , you need to unpivot the course columns.
Check out this:
The best way may be the 'unpivot other columns' option: select the non course columns and unpivot other.
if I do that - it makes a row for each course - right? I would want all of them on 1 row.
You are both correct. It will make a row for each course in the table in your model. However, you can still put them all on a row in a matrix visual as a single field.
you can do it on visualization but you have to unpivot the data table.
if you post a sample dataset (PFP Check table) we can help you to better understand.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 20 | |
| 19 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 37 | |
| 31 | |
| 27 |