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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
K7pramod
Contributor III
Contributor III

Qliksense Ceil and Floor not picking the fractions in where clause

Hi,

I am using Floor() and Ceil() functions to get the rows in between 2 values, but when the value of PercentileMark95 is in fractions the below condition is not working good.

where RowNum >= Floor(PercentileMark95) and RowNum <= Ceil(PercentileMark95)
this is returning Ture only when there is full INT value in it.
Is there any solution for this problem, this is used in Loading data.

Labels (1)
1 Solution

Accepted Solutions
K7pramod
Contributor III
Contributor III
Author

Found the issue - the problem was not in Floor() and Ceil(), i was using mod() in place fmod(). fmod() worked fine.

View solution in original post

1 Reply
K7pramod
Contributor III
Contributor III
Author

Found the issue - the problem was not in Floor() and Ceil(), i was using mod() in place fmod(). fmod() worked fine.