Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to get factorial of an odd number?

fact(n)  is a chart general numeric function that returns the factorial of a positive integer n - 1×2×3×4×...×n. Is there  any way I can get the factorial of a positive odd number, for example,  1×3×5×7×...×(2m−1). Thanks

1 Solution

Accepted Solutions
Not applicable
Author

I finally found answer for this questions: = fact(n)/(fact((x-1)/2)* pow(2, (x-1)/2))

View solution in original post

1 Reply
Not applicable
Author

I finally found answer for this questions: = fact(n)/(fact((x-1)/2)* pow(2, (x-1)/2))