The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I was able to get my date difference custom column, however I need it to take into account the type of service provided if there are multiple chart numbers.
My current formula is:
However, it is providing a date difference for chart number 23549 diagnostic service even though it doesnt have an appt date, since it is taking the appt date from 23549 US Breast service.
How should I fix my formula to incorporate the service being provided?
Solved! Go to Solution.
@mgaut341 , Try using
Wait Times =
IF('CCHHS Mammo'[Service] = "Diagnostic",
DATEDIFF('CCHHS Mammo'[Date Referred], 'CCHHS Mammo'[Appointment], MONTH),
IF('CCHHS Mammo'[Service] = "US Breast",
DATEDIFF('CCHHS Mammo'[Date Referred], 'CCHHS Mammo'[Appointment], MONTH),
NULL
)
)
Proud to be a Super User! |
|
Thank you!
@mgaut341 , Try using
Wait Times =
IF('CCHHS Mammo'[Service] = "Diagnostic",
DATEDIFF('CCHHS Mammo'[Date Referred], 'CCHHS Mammo'[Appointment], MONTH),
IF('CCHHS Mammo'[Service] = "US Breast",
DATEDIFF('CCHHS Mammo'[Date Referred], 'CCHHS Mammo'[Appointment], MONTH),
NULL
)
)
Proud to be a Super User! |
|
User | Count |
---|---|
24 | |
10 | |
8 | |
7 | |
6 |
User | Count |
---|---|
32 | |
12 | |
10 | |
10 | |
9 |