Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
mik618
Helper I
Helper I

active at certain times

Hi there, 

 

I've been asked to do various reports looking at improvment and display this in a graph, one report is looking at confirming appointments, every appointment should be confirmed the date the appointment is made, so there is a person column, appointment ID, appointment date, appointment confirmed date columns;

 

Patientappointment_IDAppointment_DateAppointment_Confirm
    
1100001/01/202001/01/2020
1100101/02/202003/04/2020
2200101/03/202001/03/2020
3205001/03/2020null
4207501/03/202010/03/2020

 

I want a formula that will show in a graph the unconfirmed appointments by date, so for 01/03/2020 there would be 3 unconfirmed appointments. 

 

Really struggling with the DAX to get this right so any help would be greatly appreciated

 

Thanks 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@mik618 , Refer article on a similar topic. The current employee is you pending confirmation

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

@mik618 , Refer article on a similar topic. The current employee is you pending confirmation

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak 

 

Thats exactly what I am after, thanks!

jdbuchanan71
Super User
Super User

Hello @mik618 

Wouldn't it be 2 unconfirmed on 1/3?  Appointment 2001 the dates match.  Anyway, something like this should get you the count of rows where it doesn't match.

Unconfirmed Count = 
COUNTROWS(
    FILTER (Appointments, Appointments[Appointment_Date] <> Appointments[Appointment_Confirm])
)

Hi @jdbuchanan71 

 

Thanks for helping, it would be 3 unconfirmed at this date as id 1001 would still be outstanding, thats the problem I'm having it needs to be able to look at all unconfirmed appointments, not just the appointment dates, so we can look at any date in the last year or so and see how many were outstanding at that time. 

 

Thanks 

@mik618 Is your table only the unconfirmed appointments?  If so you can do a COUNTROWS (YourTable), pull the appointment date into the chart and the measure into the values and see the unconfirmed appointments by date.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors