Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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 )
)
User | Count |
---|---|
11 | |
9 | |
8 | |
7 | |
5 |
User | Count |
---|---|
23 | |
15 | |
15 | |
10 | |
7 |