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.
Hi,
I am in the process of converting Business Objects reports to Power BI.
This is the formula for Objects in BO.
=If(IsNull([Invoicenumber]);[Amountbase]-[Reconciled];0)
=If([Itemsumbase]-[Amountbase] Where ([Itemsumbase]+0>0)<0;0; [Itemsumbase]-[Amountbase] Where ([Itemsumbase]+0>0))
Can you please let me know how to create DAX on PBI?
Thanks,
RS
first statement looks easy
If(ISBLANK([Invoicenumber]);[Amountbase]-[Reconciled];0)
not sure I understand second correct but it should be similar here
=
var _ifStatement = CALCULATE(SUMX(Table; [Itemsumbase]-[Amountbase]); [Itemsumbase]>0)
RETURN
If(_ifStatement<0; 0; _ifStatement)
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.
User | Count |
---|---|
47 | |
26 | |
19 | |
14 | |
10 |
User | Count |
---|---|
57 | |
49 | |
44 | |
18 | |
18 |