Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
We have an option to use the column header in formulas in Excel. Does Power BI has similar option?
Something like this
Hi @treesafranco,
Current, dax not support to get the column name, you can use power query to achieve the requirement.
Sample:
Custom=Table.ColumnNames(#"previousSteps"){0}
Reference link:
Dealing with tables with changing headers in Power Query
BTW, you can also use PreviousSteps{index} to get the specify row content in power query.
Custom=#"previousSteps"{0}
Regards,
Xiaoxin Sheng
I'm not aware of a way to do that in Power BI. However, I'm not sure that your formula is working correctly, shouldn't your first two items be TRUE? In Power BI, you would create a similar formula like this:
=IF(YEAR([Acquisition Date]) = 2012,TRUE,FALSE)
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
73 | |
71 | |
54 | |
38 | |
31 |
User | Count |
---|---|
71 | |
64 | |
62 | |
50 | |
46 |