Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello,
I need to create a "target per hour " measure and I am completely stuck.
If PTE/GM/CB Case, then 2 per hour
if SNOW Case, then 4 per hour.
The PTE/GM/CB and SNOW cases are different table.
Please Help. Thank you
@Coryanthony Please Try Below Code
Test =
SWITCH (
SELECTEDVALUE ( Table[column] ),
"PTE/GM/CB Case", 2,
"SNOW Case", 4,
[Defualt Measure]
)
@Coryanthony If this post helps, then please consider accepting it as the solution to help other members find it more quickly.
Hi @Mahesh0016 , thank you for your response. the solution does not appear to be working. Please see my current measure for "PTE/CB/GM Count" and "SNOW case count". Hopefully this provides additional information and helps. Thanks again.
Measures:
PTE/CB/GM Count = COUNT(PTE_CB_GM[Number])
@Coryanthony you want to under PTE/CB/GM Every value consider as 2 and Snow Value as 4 ,i'm right or wrong .Plaese Guide Further.
PTE/CB/GM Count = IF(COUNT(PTE_CB_GM[Number])>=0,2,COUNT(PTE_CB_GM[Number]))
Measures:
PTE/CB/GM Count = COUNT(PTE_CB_GM[Number])
User | Count |
---|---|
102 | |
84 | |
77 | |
70 | |
67 |
User | Count |
---|---|
113 | |
99 | |
97 | |
72 | |
68 |