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 August 31st. Request your voucher.
Hello!
I need to use a measure filter in a calculate of sum.
@Anonymous , Based on what I got, It should be
CALCULATETABLE(DISTINCT(ALLSELECTED(List1[Keyword])), FILTER(List1, List1[Keyword] in values( Table[Text]) ))
It looks better, but makes no difference to the error message. This comes from x being a measure, that's why it won't calculate with a condition coming from a measure and not a column. (It's the same if I use t directly, e.g. using NOT(ISEMPTY(t)) in the condition.)
I need to sum only the values for which there is at least a text containing the one of the selected keywords, i.e. for which x is not blank (ot t not empty).
I don't know how else to avoid this in CALCULATE.