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.
Dear all, I am struggling with a relative simple issue.
I have 2 tables, [Receivables] and [Payables]
These 2 tables are joined through:
Invoice status = IF(ISBLANK( CALCULATE(COUNTA(Receivables[Document No.]); FILTER(ALL(Receivables); Receivables[Document No.]=(MAX('Payables[External No.])))));"Not Invoiced";"Invoiced")but I actually need this as a calculated column in the table [Receivables]
Inv. status(WRONG) = IF(HASONEVALUE('Payables'[External Document No.]); LOOKUPVALUE('Payables'[Entry No.];'Payables'[External No.];Receivables[Document No.]);"")Could someone point me in the right direction, please?
Solved! Go to Solution.
@setis -
Maybe this will work for you:
Column = VAR countReceivables = CALCULATE ( COUNTROWS ( Payables ), ALLEXCEPT ( Receivables, Receivables[Document No.] ) ) RETURN IF ( ISNUMBER ( countReceivables ), "Invoiced", "Not Invoiced" )
Proud to be a Super User!
@setis -
Maybe this will work for you:
Column = VAR countReceivables = CALCULATE ( COUNTROWS ( Payables ), ALLEXCEPT ( Receivables, Receivables[Document No.] ) ) RETURN IF ( ISNUMBER ( countReceivables ), "Invoiced", "Not Invoiced" )
Proud to be a Super User!
Dear @ChrisMendoza,
It does work. Thank you so much!
I really appreciate you taking the time to create a file and check this for me. I should have included a file myself. 🙂
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 |
---|---|
114 | |
101 | |
78 | |
75 | |
49 |
User | Count |
---|---|
145 | |
108 | |
107 | |
89 | |
61 |