Forum Discussion
Anonymous
4 years agoNot applicable
Calculated column, excluding Accounts according to document type
Dear All, Please assist. I need to create calculated column which will exlcude ALL documents from assigned account, if given account has any DW ducument. My attemts resulted only in excluding s...
- Anonymous4 years ago
Thank you for your effort. I've made it differently. I've duplicated query, filtered out documents other than "DW", and comapred columns Account.
This is small model, such solution is enough.
Thank you.
amitchandak
Super User
4 years agoAnonymous , I think you need a measure like below and plot that with Account in table visual
measure =
var _max = countx(allselected(Table), Table[Account] = earlier(Table[Account]) && Table[Document Type] ="DW")
return
calculate(sum(table[Value]), filter(Table, isblank(_max)))
Anonymous
4 years agoNot applicable
Thank you amitchandak , Unfortunatelly following erro appears: "DAX comparison operations do not support comparing values of type True/false with values of type Text "
Is there a solution that can be used in calculated column?