Hi,
I have an SQL as below,
select CUS.INVOICE,CUS.AMOUNTCUR from dbo.CUSTTRANS CUS where CUS.AMOUNTCUR > 0 AND CUS.AMOUNTCUR <> CUS.SETTLEAMOUNTCUR
I'm trying to convert this to AOT query and I'm having trouble in setting a where condition between two fields of the same table.
The TSQL for the AOT query is as below,
SELECT AmountCur, Invoice FROM CustTrans(CustTrans_1) WHERE ((AmountCur>0)) AND ((NOT (SettleAmountCur = 0)))
The results between SQL and DAX AOT Query don't match.
The problem here is with CUS.AMOUNTCUR <> CUS.SETTLEAMOUNTCUR.
How can I set this in the AOT query.
Please help.
Thanks,
Praveen.
*This post is locked for comments

Report
All responses (
Answers (