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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Looking for some guidance related to another post.
I do not want to count items that only reside in waiting room. Example, this works because they both progressed somewhere in the case that they do not move from waiting room how can I exclude that from the denominator? For example:
What I am showing now: Waiting Room to Seen by Doctor= 2/2 = 100%
What I want to see: Waiting Room to Seen by Doctor= 1/2=50%
In this example, 456 went straight to doctor and did not actually progress from waiting room therefore I do not want that counted in my metric..help?
Unique Record | Activity Type | Concat | Patient |
456 | Seen by Doctor | 456-Seen by Doctor | John Doe |
123 | Waiting Room | 123-Waiting Room | John Doe |
234 | Waiting Room | 234-Waiting Room | John Doe |
123 | Seen by Doctor | 123-Seen by Doctor | John Doe |
Hi, @Anonymous
Hi, @Anonymous
Based on your description, you may two calculated columns as follows.
Normal process =
MAXX(
FILTER(
ALLSELECTED('Table'),
'Table'[Unique Record] = EARLIER('Table'[Unique Record])&&
EARLIER('Table'[Activity Type]) = "Waiting Room"&&
'Table'[Activity Type] = "Seen by Doctor"
),
'Table'[Unique Record]
)
Abnormal process =
var _currentrecord = CALCULATE(MAX('Table'[Unique Record]))
Return
MAXX(
FILTER(
ALLSELECTED('Table'),
EARLIER('Table'[Activity Type]) = "Seen by Doctor"&&
CALCULATE(
COUNTROWS(
FILTER(
ALLSELECTED('Table'),
'Table'[Activity Type] = "Waiting Room"&&'Table'[Unique Record]=_currentrecord
)
)) = 0
),
IF(
'Table'[Unique Record] = _currentrecord,
'Table'[Unique Record]
)
)
Then you can create a measure as below.
Percentage =
DIVIDE(
COUNT(
'Table'[Normal process]
),
DISTINCTCOUNT('Table'[Unique Record])-COUNT('Table'[Abnormal process])
)
Result:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
When I try to implement this I get a error as it creates a circular dependency with another column I created to use to filter. Any work arounds?
Hi, @Anonymous
Most of time, circilar dependencies occur when you use calculated tables. You may avoid them by paying attention to your choice of function. I wonder tables, their relationships in the data models and the error message. Do mask sensitive data before uploading.
For further information, you may refer to the following link. Thanks.
https://www.sqlbi.com/articles/avoiding-circular-dependency-errors-in-dax/
Best Regards
Allan
First Create a column
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.