Forum Discussion
Date Query
- 5 years ago
Pricey79 .
You are not closing DISTINCTCOUNT.
Please use ) after giving the column.
Regards,
Manikumar
If you think this is helpful Please Accept as Solution and leave a like
Pricey79 ,
Use the below to check the last 14 days distinct values.
Measure =
CALCULATE(DISTINCTCOUNT('Table'[Value]),DATESINPERIOD(LASDATE('Table'[Date]),-14,DAY))
Thank you for your reply.
Using your solution I get the error message :
Too few arguments were passed in DATESINPERIOD fucntion. The minium argument count for the function is 4
- manikumar345 years ago
Solution Sage
Pricey79 , hey Sorry.
I was missing to refre the Dates columns.
Measure =
CALCULATE(DISTINCTCOUNT('Table'[Value]),DATESINPERIOD('Table'[Date],LASDATE('Table'[Date]),-14,DAY))Check with the above
Reards,
Manikumar
- Pricey795 years ago
Helper V
- manikumar345 years ago
Solution Sage
Pricey79 .
You are not closing DISTINCTCOUNT.
Please use ) after giving the column.
Regards,
Manikumar
If you think this is helpful Please Accept as Solution and leave a like