Forum Discussion

dakins's avatar
dakins
Icon for Helper II rankHelper II
4 years ago
Solved

Need help converting calculate column to Measure

Hello Friends, How can I convert this calculated column below to a measure?   Sales_Fee = SWITCH(TRUE(), 'Product'[Product_Name] ="Iphone X", "250.00", // 'Product'[Product_Name] ="Iphone R", ...
  • edhans's avatar
    4 years ago

    I still cannot make heads or tails out of the original calculated column DAX with the syntax errors. If you want to use the date from a date table use RELATED('Date'[Date]) instead of the order date. 

    Otherwise read EVERYTHING I wrote in my first post and provide all of that.