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.
Hello Team
I hope you are doing well.
I am trying to create a dummy column with null values in DAX.
I'm trying to do the DAX equivalent of this SQL query:
Select null as ColumnA
Do you know how I can do it in DAX?
Thanks for your help.
Solved! Go to Solution.
Hi @Anonymous ,
Please try the following dax:
EVALUATE SUMMARIZE ( Table,Table[column1],Table[column2],"newcolumn",blank())
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
Hello
Thank you for your help.
I try this but it doens't work.
EVALUATE SUMMARIZE ( blank())
Hi @Anonymous ,
Please try the following dax:
EVALUATE SUMMARIZE ( Table,Table[column1],Table[column2],"newcolumn",blank())
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
User | Count |
---|---|
65 | |
61 | |
60 | |
53 | |
30 |
User | Count |
---|---|
180 | |
88 | |
71 | |
48 | |
46 |