Forum Discussion
CALCULATE ALL filter Open Amount
Hi All,
The Open Amount column is a dax measure:
| PostingDate | DocumentNumber | Description | Amount | DocumentType | Open Amount |
| Wednesday, 31 December 2014 | GVFK-143979 | Order VOR-143607 | 8,061.30 | 2 | 200 |
Any suggestions? Many thanks.
4 Replies
- AllisonKennedy
Community Champion
You can try:
Open Amount = CALCULATE(SUM(Fact_CustLedgerEntryDetailed[Amount])), ALL(Fact_CustLedgerEntryDetailed[Document Number]))
- AnonymousNot applicable
Hi AllisonKennedy ,
Thanks for reply but i still dont have the expected result.
For your information this table is also filtered by the slicer object " CustLedger Entry OpenAmount" with value 1. This slicer is based on column OpenAmount from the CustLedgerEntry table.
The visual table contains columns from CustLedgerEntryDetailed table.
- AllisonKennedy
Community Champion
You actually probably need more in the ALL, you just need to consider what filters you want to remove and keep:
Open Amount = CALCULATE(SUM(Fact_CustLedgerEntryDetailed[Amount])), ALL(Fact_CustLedgerEntryDetailed, [Document Number], [Document Type]))
You'll need to fix syntax in the above and add table names.