Forum Discussion
mgaut341
1 year agoHelper II
Counting based on specific value
I created a date difference column to look at the difference when an appt is scheduled to the appt date. I am interested in the appts that are scheduled the same day (date difference =0). When I...
- Anonymous1 year ago
Hi mgaut341 ,
You can try formula like below:
sameday = CALCULATE(COUNTROWS('Table'),'Table'[Scheduling Days] = 0)If the problem persists, please provide relevant test data and describe it.
Best Regards,
Adamk KongIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
PijushRoy
1 year agoCommunity Champion
Hi mgaut341
Can you please try the below DAX?
Appts_Schd_Same_Day =
CALCULATE(
COUNTROWS('New Appointment_Fact'),
FILTER(
'New Appointment_Fact',
'New Appointment_Fact'[Scheduling Days] = 0
)
)
Please let me know if not works
- mgaut3411 year agoHelper II
Unfortunately, it still doesn't work