Forum Discussion
Anonymous
4 years agoNot applicable
DAX Calculation with multiple rules
Hi there, I am looking create a measure "Quote Waiting Customer Review" with multiple rules. The rules are below. CANCELLED is a date field. INVOICED is a date field. LGI_MAINTENANCE is a date...
- 4 years ago
Anonymous did you copy and paste my code into your PBIX and just change the table name from 'Table' to whatever your table is called?
Anonymous
4 years agoNot applicable
Yeah I did
TheoC
4 years agoCommunity Champion
Anonymous can you screen shot what the measure you used?
- TheoC4 years agoCommunity Champion
Anonymous I am not sure how to reopen a post, but I promise I will work with you until it's resolved 🙂
- Anonymous4 years agoNot applicable
Thanks Theo!
Please see below
- Anonymous4 years agoNot applicable
Hi Theo
I have also tried this, not for the same metric above and not as complex.STRIKE RATE = VAR _StatusDate = SELECTEDVALUE ( 'Calendar'[Date] )RETURNCALCULATE(COUNT('AR_MANAGER BI_DASHBOARD_SRC_VW'[ACCEPTED]),FILTER('AR_MANAGER BI_DASHBOARD_SRC_VW',('AR_MANAGER BI_DASHBOARD_SRC_VW'[ACCEPTED] >= _StatusDate) && ( 'AR_MANAGER BI_DASHBOARD_SRC_VW'[CANCELLED] >= _StatusDate || 'AR_MANAGER BI_DASHBOARD_SRC_VW'[QUOTED] <> "null" )))
I get this error