SYMPTOM:
When creating a metric with an IF function that involves an attribute qualification in its condition, users get the following error in Strategy:
Error(s) occurred while loading report: DSSSQLEngine: converting Report: Unknown error
STEPS TO REPRODUCE:
Follow the steps below to reproduce this issue using the Strategy Tutorial project:

CAUSE:
The IF condition allows metrics, constants, comparison and logical operations. By design, attributes cannot be used directly in the condition of the function
WORKAROUND:
Users can implement the following workaround to use IF functions in combination with conditions based on attributes. Follow the steps below:
