Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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! |
|
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 8 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 29 | |
| 19 | |
| 17 | |
| 11 | |
| 10 |