Greg_Deckler's avatar
Greg_Deckler
Community Champion
7 years ago

IsPrime

This nifty little Quick Measure will tell you if a number is prime or not.      mIsPrime = VAR __num = MAX([Number]) VAR __max = INT(SQRT(__num)) VAR __table = GENERATESERIES(2,__max,1) VAR __...