Forum Discussion
hibarrbm
6 years agoHelper I
Transform SQL Formula Into DAX Measure For Total Sales
Hello, I have a SQL formula from SQL Developer that i'm trying to translate into DAX measure formula. Its taking orders from a fact table that status key = (25,133) then from another fact table w...
lbendlin
6 years agoSuper User
That is some really deep PLSQL...
Bitand(ods_owner.fact_order_line.order_line_flg, Power(2, 0))
Isn't that just checking if fact_order_line_flg is an odd number? You can use the MOD function for that. The equivalent for Decode seems to be COALESCE()