Forum Discussion
Dax - New Measure (Columns) according to multiple columns condition per row
Dear SuperUsers,
Currently I'm trying to add a new column with value based on other multiple columns.
For example,
New measure (Column) = NOT FILLED if
Column A, B, C, D, E are all Blank or Empty
And there are 20000 rows,
I have below syntax but got an error saying too many argument passed to the SUM function,
Could someone help?
Thanks
Monnie
4 Replies
- Dataanalyst2Frequent Visitor
Fowmy Thank you so much for your help and suggestion.
Thou this method doesn't seem to be able to address to what I need.
But I have tried again with a simplier syntax by removing the SUM and ISEMPTY functions on a New Column instead of New Measure, it worked fine.
Again thanks for trying to help and I have learnt sth new on pivoting column at least!
Best regards
- mahoneypatMicrosoft Employee
I agree you should unpivot your table. If you really can't do that, you can use this approach with a DAX column to check for all blank values.
Pat
- FowmySuper User
Dataanalyst2
The ideal approach is to use Power Query to unpivot the columns. Please refer : https://www.youtube.com/watch?v=Vff2kRBM95o&t=0s - v-jingzhangCommunity Support
Hi Dataanalyst2
Can you share your solution? You can post it and accept it as solution then. This will help other community members who have similar questions. Thank you. 😉
Best Regards,
Community Support Team _ Jing