Forum Discussion
Amrselim1989
Helper II
3 years agoCalculate filter OR
Item Last Cost = calculate(AVERAGE( Products[last_cost] ), FILTER(Bi_Balance_All,not(ISBLANK([Units at Stock]))) || FILTER(Bi_Basket_all,not(ISBLANK([Basket Uints])))) what's wrong here?! w...
tamerj1
Community Champion
3 years agoHi Amrselim1989
I can only assume based on your dax that both tables filter the Products table. If this is the case you can try
=
AVERAGEX (
FILTER (
Products,
NOT ISBLANK ( RELATED ( Bi_Balance_All[Units at Stock] ) )
|| NOT ISBLANK ( RELATED ( Bi_Basket_all[Basket Uints] ) )
),
Products[last_cost]
)