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.
This seems simple - but I can't find any good answers.
How do I remove/replace a column from a virtual table in DAX?
(I'm doing a cross join with the GENERATE function and would like to replace a single column).
Thanks in advance.
Solved! Go to Solution.
@alexbjorlig , You can use addcolumns to add new columns and selectcolumns to select the columns, I doubt or replace.
https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/
https://docs.microsoft.com/en-us/dax/selectcolumns-function-dax
https://docs.microsoft.com/en-us/dax/addcolumns-function-dax
@alexbjorlig , You can use addcolumns to add new columns and selectcolumns to select the columns, I doubt or replace.
https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/
https://docs.microsoft.com/en-us/dax/selectcolumns-function-dax
https://docs.microsoft.com/en-us/dax/addcolumns-function-dax
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 |
---|---|
10 | |
8 | |
8 | |
6 | |
5 |
User | Count |
---|---|
17 | |
14 | |
10 | |
9 | |
8 |