Forum Discussion
Quarter to Date Function not working
I updated the formula but it still is showing a blank. In the image below, i set up a card visual wanting to reflect only QTD but it shows blank but when I show all quarters, the data is there. What am i missing?
Thank you for your help.
4 Replies
- mahoneypat
Microsoft Employee
You don't need both functions. Either of these should work.
Count QTD = CALCULATE(COUNTA(Prospects[Contact ID]),DATESQTD('Date'[Date]))
Count QTD = TOTALQTD(COUNTA(Prospects[Contact ID]), 'Date'[Date])
Pat
- ysherriff
Resolver II
I updated the formula but it still is showing a blank. In the image below, i set up a card visual wanting to reflect only QTD but it shows blank but when I show all quarters, the data is there. What am i missing?
Thank you for your help.
- mahoneypat
Microsoft Employee
I suspect your Date table is going beyond today. Please see this documentation on the DATESQTD function.
If you change your Date table so that it ends at TODAY(), it should work as expected. Alternatively, you can add a Relative Date filter on the card visual with the Date[Date] column.
Pat
- ysherriff
Resolver II
Thanks Pat. I tried this and it worked