Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am trying to create a new measure that returns the result "Re-Stock"
Thi is what I am trying to acheive.
IF StockLocation = Warehouse AND FreeStockQuantity is <5 AND StockLocation = RTP & FreeStockQuantity >0 Then "Re-Stock"
I can't get work out the dax to do so.
Thanks
Craig
First remark is that you will need a value_if_true and a value_if_false in your IF Function.
The IF Function works as follows:
var <var1> = IF(<conditions>; <return if true>; <return if false>)
Here is a working example:
var length = LEN([variable])
var result = IF(length>8; RIGHT([variable];8);"null")
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.