Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
The logic I am attempting to follow is:
If column 1 equals True then "Some Designation 1"
If column 2 equals True then "Some Designation 2"
If Column 3 equals "Some Value1" AND Column 4 equals 1 or 2 or 3 or 4 or 5 Then "Some Designation 3"
If Column 3 equals "Some Value2" AND Column 4 equals 1 or 2 or 3 or 4 or 5 Then "Some Designation 3"
Else "Undefined"
I cannot seem to get my SWITCH Correct:
Designation = SWITCH( TRUE(), 'Table'[column1] = True, "Some Designation 1", 'Table1'[Column2 = True, "Some Designation 2", 'Table1'[column3] = "Some Value 1" && 'Table1'[Column 4] = "1"|| 'Table1'[Column 4] = "2" || 'Table1'[Column 4] = "3" || 'Table1'[Column 4] = "4" || 'Table1'[Column 4] = "5" || 'Table1'[Column 4] = "6" || 'Table1'[Column 4] = "7" || 'Table1'[Column 4] = "8", "Some Designation 3", 'Table1'[column3] = "Some Value 2" && 'Table1'[Column 4] = "1"|| 'Table1'[Column 4] = "2" || 'Table1'[Column 4] = "3" || 'Table1'[Column 4] = "4" || 'Table1'[Column 4] = "5" || 'Table1'[Column 4] = "6" || 'Table1'[Column 4] = "7" || 'Table1'[Column 4] = "8", "Some Designation 3", "Undefined")
Hi,
please check if the below formula works
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
49 | |
25 | |
20 | |
15 | |
12 |
User | Count |
---|---|
57 | |
49 | |
44 | |
19 | |
18 |