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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
These are 2 entities in my SSAS model. There can be only 1 unique operation but multiple rounds associated to each operation.
I want to be able to calculate the number of rounds that only have more than one deviated rounds.
NOTE: round_deviated is TRUE/FALSE.
Solved! Go to Solution.
Hi @someshwarrc
Thanks for reaching out to us.
please try this measure
Measure = CALCULATE(COUNTROWS(ROUNDS),FILTER(ROUNDS,ROUNDS[operation_id]=MIN(OPERATIONS[operation_id]) && ROUNDS[round_deviated]=TRUE()))
sample data
result
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Hi @someshwarrc
Thanks for reaching out to us.
please try this measure
Measure = CALCULATE(COUNTROWS(ROUNDS),FILTER(ROUNDS,ROUNDS[operation_id]=MIN(OPERATIONS[operation_id]) && ROUNDS[round_deviated]=TRUE()))
sample data
result
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
You could try
Ops more than 1 deviated round =
SUMX (
operations,
VAR numDeviatedRounds =
CALCULATE (
COUNTROWS ( RELATEDTABLE ( rounds ) ),
rounds[round_deviated] = TRUE ()
)
RETURN
IF ( numDeviatedRounds > 1, 1 )
)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 6 | |
| 6 | |
| 5 |
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 18 | |
| 14 | |
| 14 |