Forum Discussion
If function on dataset
- Anonymous3 years ago
rpinxt ,
If the two tables are related to each other this will work.Measure =Var a = MAX(Sheet1[Flow]) = "Reworked"var b = MAX(Sheet1[Amt LC]) < -50var c = a && bvar d = IF(c,MAX('Sheet1 (2)'[Quantity]), 0)return dRegards,
Ashfiya
--------------------------------------------------------------------------------------------------------------------------
Did I help you today? Please mark my post as a solution and hit the Kudos button.
Hi rpinxt ,
I tried this measure as per my understanding. [TRUE - If ('Amt LC' > -50 ; 'Quantity' ; 0) ] I did not understand the 2nd condition for Quantity. Please check the below measure.
Regards,
Ashfiya
--------------------------------------------------------------------------------------------------------------------------
Did I help you today? Please mark my post as a solution and hit the Kudos button.
Ok this looks like it could work but my "Flow" and my "Quantity" come from 2 different tables.
Here you have them both in 'Sheet1'.
I think that is were my problem is.