Forum Discussion
Anonymous
4 years agoNot applicable
Alternative DAX Formula
Hi Everyone, Currently I am using one formula to find the closed deals based on date. I have created a stacked bar chart which can give the closed deals count based on date. I have used this f...
- Anonymous4 years ago
Thanks for your hep and it resolved now. I used different aproach to solve it
CALCULATE (DISTINCTCOUNT (pred[deal] ),pred[ACTUAL_STATUS] <> "Open",keepfilters(filter(pred, pred[MAX_CLOSED_DATE]=pred[PREDICTION_DATE])))
johnt75
Super User
4 years agowhat relationships do you have from your date table to the predictions table ? on which columns and are they one-to-many or many-to-many? in which directions do the filters flow ?
Anonymous
4 years agoNot applicable
Its a single table, no other tables
- Anonymous4 years agoNot applicable
Thanks for your hep and it resolved now. I used different aproach to solve it
CALCULATE (DISTINCTCOUNT (pred[deal] ),pred[ACTUAL_STATUS] <> "Open",keepfilters(filter(pred, pred[MAX_CLOSED_DATE]=pred[PREDICTION_DATE])))