Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
26 | |
19 | |
14 | |
10 |
User | Count |
---|---|
57 | |
49 | |
44 | |
18 | |
18 |