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 nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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")
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 |
|---|---|
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 5 | |
| 5 | |
| 4 |