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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Overlapping client sessions

I am working with a overlapping report where one "provider ID" overlaps with another "provider id". Not every appointment overlaps.

 

Background reference is this is one provider overseeing another while they are working with a "clientid". The supervisor of the appointment always bills the "97155" procedure code and the supervisee the "97153" there are other codes in the dataset but these are the ones specifically being measured.

 

Ultimately I need to determine the overlapping time and compare it as a percentage of overall time worked by the supervised employee. A general return of the time supervised is suficient but ideally the calculation would be per client and total for the employee. 

 

This one just has me completely stumped and my research is failing me, or my brain has temporarily gone on an extended coffee break. Thanks in advance if anyone can help with this.

IdDateOfServiceTimeWorkedFromTimeWorkedToTimeWorkedInHoursClientIdProviderIdProcedureCodeProcedureCodeDescription
1611046021/26/2022 0:001/26/2022 12:001/26/2022 14:0021612243155543097153Direct Therapy-KS Medicaid
1611003741/26/2022 0:001/26/2022 8:301/26/2022 10:001.51612243193632997153Direct Therapy-KS Medicaid
1611021231/26/2022 0:001/26/2022 10:001/26/2022 11:0011612243170079397153Direct Therapy-KS Medicaid
1611025101/28/2022 0:001/28/2022 11:001/28/2022 11:300.51432034143108997155TELEHEALTH - BCBA Oversight: KS Medicaid
1611026351/26/2022 0:001/26/2022 15:001/26/2022 16:0011454100170079397153Direct Therapy-KS Medicaid
1611095841/26/2022 0:001/26/2022 13:001/26/2022 14:0011454100154947397153Direct Therapy-KS Medicaid
1611050951/26/2022 0:001/26/2022 15:001/26/2022 16:301.51612243155543097153Direct Therapy-KS Medicaid
4 REPLIES 4
Anonymous
Not applicable

Hi @ryan_mayu,
the expected output would be a percentage of the overlap so a return similar to below. I hope this makes sense. 

I can split and total each code by provider and create certain percentages, I am struggling with defining the ovelap in the BI. Any help here would be appreciated.
Providerid (with the 97153 codes)                             supervising providerID (97155 codes)               % of overlap
     clientID                                                                                                                                             %
     ClientID                                                                                                                                             %

Providerid (with the 97153 codes)                             supervising providerID (97155 codes)               % of overlap
     clientID                                                                                                                                             %
     ClientID                                                                                                                                             %

since i am not familiar to your business, could you pls provide the output with data based on the sample data you provide, not only the layout. 

 

what's more, for the 97155, i only see one provide id 1431089 and do not have any overlap with other records.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

@ryan_mayu 

Here is a link to the full dataset, I apologize that the sample did not have an overlap, which negates the whole question, I was trying to keep it simple and just made things harder. different providers provider service to clients but only our supervisors provide the oversight or the 97155 codes. I am only concerned with the cross over of 97153 & 97155 codes for this specific review.  The ID column is a unique code to each service line, client and provider ID unique identifer to each person. I am trying to find the percent of time an employee is supervised versus their total time worked with clients.

Again any help is appreciated as I am completely stumped right now.

 

https://1drv.ms/u/s!Aj9-fJ8Jdp0o0xyzsDnb4FONpJmH?e=tLMf65

 

ryan_mayu
Super User
Super User

@Anonymous 

What's the expected output?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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