The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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
User | Count |
---|---|
15 | |
13 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
19 | |
12 | |
9 | |
7 |