Forum Discussion
Function that does not ignore filters
HI Waseem
Please try this tweak as a quick test
Net Amount = SUM([Amount])-CALCULATE(SUM([Amount]),FILTER(ALLSELECTED('Subs'),[DESCRIPTION]="Rental"))Hi Phil
I already tried "ALLSELECTED" as well but same impact.
Appreciate though.
Regards
- Anonymous8 years agoNot applicable
Allselected not working could be due to your data model. If you can share more info that may help.
Also try removing the argument from the allselected as follows
Net Amount = SUM ( [Amount] ) - CALCULATE ( SUM ( [Amount] ), FILTER ( ALLSELECTED (), [DESCRIPTION] = "Rental" ) )- Waseem8 years ago
Helper III
Hi Thomas
I have following model linked from excel:
I am trying to sumup the BILLAMOUNT column by filtering out three items (highlighted in yellow) from column "DESCRIPTION". The results are fine when I do not apply any filters. However, when I apply filters on the "Equip ID" column, which is linked to another amapping file, I get messed up numbers. Appreciate your help.
- v-juanli-msft8 years ago
Community Support
Hi Waseem
"when I apply filters on the "Equip ID" column, which is linked to another amapping file, I get messed up numbers. "
what is the another amapping file, is it a table which having a relationship with this table?
What is the relationship between this table and "another amapping file"?
Best Regards
Maggie