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 moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
I need to test if the first header of my source file is a specific value. Or how do you get the value of the first header so I can compare it to a specific value
Thank you
Solved! Go to Solution.
This works
headers = Table.ColumnNames(#"Trimmed Text") as list,
headersContain = List.Contains(headers, "First Name")
This works
headers = Table.ColumnNames(#"Trimmed Text") as list,
headersContain = List.Contains(headers, "First Name")
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 |
|---|---|
| 4 | |
| 3 | |
| 3 | |
| 1 | |
| 1 |