gpt-3.5-turbo-0613· OpenAI
WildChat-4.8M (AI2)
Modify the function to include only dates falling in month and year selected in slicers…
- User
Modify the function to include only dates falling in month and year selected in slicers 'Calendar'[Month] and 'Calendar'[Year]
Promo Days = CALCULATE( DISTINCTCOUNT('Customer_SKU_Date'[Date]) )
- Assistant
Promo Days = CALCULATE( DISTINCTCOUNT('Customer_SKU_Date'[Date]), FILTER( 'Customer_SKU_Date', MONTH('Customer_SKU_Date'[Date]) = SELECTEDVALUE('Calendar'[Month]) && YEAR('Customer_SKU_Date'[Date]) = SELECTEDVALUE('Calendar'[Year]) ) )
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.