Forum Discussion
WBscooby
Helper III
3 years agoDAX - If statement using measures returning too many rows
Hi I'm a bit rusty on DAX and hoping someone can help. I have a table of customer outcomes containing Outcome ID, Outcome Date, Customer ID The table links to DateCalendar and the Customer Table...
- 3 years ago
How about this?
zMeasure 2 = SUMX( ADDCOLUMNS( SUMMARIZECOLUMNS( 'Customer'[Customer], 'Date'[MMM-YY] ), "@Value", IF( [Earliest Outcome Date] < [Date_outcome], 1 ) ), [@Value] )
WBscooby
Helper III
3 years agoThanks for looking - I've tried but it is still not working for me
grantsamborn
Solution Sage
3 years agoHi WBscooby
Can you explain wht is not working?
Here is my latest pbix: CustomerOutcomesV2-mine.pbix
Grant