Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
joeybird
Creator III
Creator III

ceil and set analysis


Hiya

I have the following set analysis measure - temperature conversion working on a table.

ceil ([FirstTemp] - [LastTemp],  0.1)

I wish to add the following to exclude some columns {$<CustomerFlag ={"0"}, ShipperFlag = {"0"} >}

I cannot seem to get this to work,

I have tried with a sum, and it throws out the calculations

please help

1 Solution

Accepted Solutions
sunny_talwar

May be this:

Ceil(Only({$<CustomerFlag ={"0"}, ShipperFlag = {"0"}>} FirstTemp) - Only({$<CustomerFlag ={"0"}, ShipperFlag = {"0"}>} LastTemp), 0.1)

or

Only({$<CustomerFlag ={"0"}, ShipperFlag = {"0"}>} Ceil(FirstTemp - LastTemp, 0.1))

View solution in original post

3 Replies
sunny_talwar

May be this:

Ceil(Only({$<CustomerFlag ={"0"}, ShipperFlag = {"0"}>} FirstTemp) - Only({$<CustomerFlag ={"0"}, ShipperFlag = {"0"}>} LastTemp), 0.1)

or

Only({$<CustomerFlag ={"0"}, ShipperFlag = {"0"}>} Ceil(FirstTemp - LastTemp, 0.1))

joeybird
Creator III
Creator III
Author

Hiya

Only({$<CustomerFlag ={"0"}, ShipperFlag = {"0"}>} Ceil(FirstTemp - LastTemp, 0.1))

worked a charm, thank you x

sunny_talwar

Awesome