Forum Discussion
Anonymous
5 years agoNot applicable
Create measure depend on another table
Hi Good Morning everyone, everyone I m new to power bi so needs your help to create the measure. I'm trying it for the last 24 hours but couldn't get it right. please help me. I have tried the bel...
- Anonymous5 years ago
Hi Anonymous ,
To my knowledge, I think the below syntax is incorect.
You may try to use the following formula to modify it :
FILTER( Tariff_ExpTHC1, 'Document Line'[Gross Weight]>=MAX(Tariff_ExpTHC1[From_Wt]) && 'Document Line'[Gross Weight]<=MAX(Tariff_ExpTHC1[To_Wt]) && 'Document Line'[LEO Date]>=MAX(Tariff_ExpTHC1[From_Date]) && 'Document Line'[LEO Date]<=MAX(Tariff_ExpTHC1[To_Date]) )
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
5 years agoNot applicable
Hi Anonymous ,
To my knowledge, I think the below syntax is incorect.
You may try to use the following formula to modify it :
FILTER(
Tariff_ExpTHC1,
'Document Line'[Gross Weight]>=MAX(Tariff_ExpTHC1[From_Wt])
&& 'Document Line'[Gross Weight]<=MAX(Tariff_ExpTHC1[To_Wt])
&& 'Document Line'[LEO Date]>=MAX(Tariff_ExpTHC1[From_Date])
&& 'Document Line'[LEO Date]<=MAX(Tariff_ExpTHC1[To_Date])
)
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.