Forum Discussion
WSeirafi
2 years agoHelper I
IF statement performance
Hello, I'm witnessing a performance issue for a quite simple measure used in a big table. If I use this measure, the result is instant Measure = VAR CurrentVal = SELECTEDVALUE ( Table[Column...
shafiz_p
2 years agoSuper User
Hi WSeirafi With "if" statements, you need to go through each item one by one. When you have a huge table , using "if" statements can be slow. It’s like checking each item individually. The default query timeout is 225 seconds. Please check its performance. Try with switch function, because it faster than "if".
WSeirafi
2 years agoHelper I
I answered below, unluckily it was not effective