Forum Discussion
atavo
7 years agoHelper I
Please Need DAX Help
Hi trying to understand why my measure is not working the way it should. I have the following measures: 1. Amount: = SUM(Data[New Funds]) 2. DecisionAmt: = CALCULATE([Amount], ...
- 7 years ago
Very odd, somehow the FILTER in your measure was interacting with the context to exclude a row although I am not sure why.
This will return the correct amount for you:
DecisionAmt Declined = CALCULATE( [DecisionAmt], Data[Report Type]="declined" ) - 7 years ago
Thanks jdbuchanan
Would be interesting to know why DAX is behaving this way.
Alfred
atavo
7 years agoHelper I
jdbuchanan71
7 years agoSuper User
Very odd, somehow the FILTER in your measure was interacting with the context to exclude a row although I am not sure why.
This will return the correct amount for you:
DecisionAmt Declined =
CALCULATE(
[DecisionAmt],
Data[Report Type]="declined"
)- atavo7 years agoHelper I
Thanks jdbuchanan
Would be interesting to know why DAX is behaving this way.
Alfred
- v-diye-msft7 years agoCommunity Support
Hi atavo
Could you tell me if your problem has been solved? If it is,kindly mark the helpful answer as a solution if you feel that makes sense. Welcome to share your own solution. others will benefit from here.