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.
Itemlist =
CONCATENATEX (
CALCULATETABLE (
VALUES ( Sheet1[Items] ),
ALLEXCEPT ( Sheet1, Sheet1[id])
),
[Items], ", "
)
Which works perfectly, however, I would now also like this function to cross-reference another column on the same sheet [exclusion] - and where the [item] is on the [exclusion] list, then it doesn't get added to the Item list.
Any suggestions greatly appreciated!
Solved! Go to Solution.
I've alterered the columns that this draws from now (by making a conditional column that does what I wanted the filter to do) so this works with my original code.
Thanks for your suggestion though!
@Anonymous , You can use
CONCATENATEX (
CALCULATETABLE (
VALUES ( Sheet1[Items] ),
ALLEXCEPT ( Sheet1, Sheet1[id]), filter (Sheet1, Sheet1[Col] ="Q")
),
[Items], ", "
)
or
calculate(
CONCATENATEX (
VALUES ( Sheet1[Items] ),
[Items], ", "
) , ALLEXCEPT ( Sheet1, Sheet1[id]), filter (Sheet1, Sheet1[Col] ="Q") )
I've alterered the columns that this draws from now (by making a conditional column that does what I wanted the filter to do) so this works with my original code.
Thanks for your suggestion though!
Thanks - that raises a circular dependancy issue, I'll look into it.