About 50 results
Open links in new tab
  1. How to use if, then statements in R? - Stack Overflow

    Feb 14, 2022 · How to use if, then statements in R? Asked 4 years, 2 months ago Modified 4 years, 2 months ago Viewed 2k times

  2. testing - Is it ok to have multiple groups of Given/When/Then in a ...

    Oct 12, 2016 · Is it then inappropriate to use Features/Scenarios to test specific UI implementations around a feature? If so, what would be a better fit? I understand that in my example, there's some …

  3. SAS Nested %if %then %do statements - Stack Overflow

    Oct 25, 2023 · Is this inside a macro definition? If not then you cannot nest %IF statements. Why do you have so many macro variables? Couldn't you just put that data into datasets where it would be much …

  4. Best way to do nested case statement logic in SQL Server

    I'm writing an SQL Query, where a few of the columns returned need to be calculated depending on quite a lot of conditions. I'm currently using nested case statements, but its getting messy. Is th...

  5. If...Then...Else with multiple statements after Then - Stack Overflow

    Mar 17, 2013 · vba if-statement conditional-statements edited Mar 23, 2013 at 19:22 Peter L. 7,354 5 38 55

  6. sql - PostgreSQL IF statement - Stack Overflow

    PostgreSQL doesn't have IF, instead use a SELECT CASE WHEN statement, as in: SELECT CASE WHEN 50<100 THEN 5 ELSE 10 END; which allows a: SELECT CASE WHEN 50<(select count(*) …

  7. How do I perform an IF...THEN in an SQL SELECT?

    Sep 15, 2008 · 8 Using SQL CASE is just like normal If / Else statements. In the below query, if obsolete value = 'N' or if InStock value = 'Y' then the output will be 1. Otherwise the output will be 0. Then we …

  8. powerquery - Multiple IF Statements in Power Query (PowerBI) "If / …

    Apr 3, 2025 · Multiple IF Statements in Power Query (PowerBI) "If / Then / Otherwise" Asked 1 year ago Modified 1 year ago Viewed 287 times

  9. What's a functional replacement for if-then statements?

    If you want to avoid using if/then/else it's possible to cheat with loop/while/repeat - but that will make your code far less reasonable to maintain and read. Functional programming doesn't mean you …

  10. In SQL Server, can you have multiple statements after the 'THEN' in a ...

    Jul 30, 2020 · Is there any way to do this? Otherwise I would have to break this down into a bunch of IF statements where I set a variable, and then execute the other statement, and then at the end select …