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.
Solved! Go to Solution.
@dakins , You can use switch True()
You can cover OR like
'Product(FT)'[sub_Name] in { "SFSA 7.2" , "SFSA 8.0" , "SFSA 8.1" ,"SFSA 9"}
Example
Switch( True() ,
'Product(FT)'[Color_Type] = "White" &&
'Product(FT)'[sub_Name] in { "SFSA 7.2" , "SFSA 8.0" , "SFSA 8.1" ,"SFSA 9"}&&
'Product(FT)'[Reg_Create].[Date] >= DATEVALUE("04/02/2021"), "1250.00",
// Add other condition
"1250.00" //default value
)
Switch-Case statement of #PowerBI: https://www.youtube.com/watch?v=gelJWktlR80&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=56
@dakins , You can use switch True()
You can cover OR like
'Product(FT)'[sub_Name] in { "SFSA 7.2" , "SFSA 8.0" , "SFSA 8.1" ,"SFSA 9"}
Example
Switch( True() ,
'Product(FT)'[Color_Type] = "White" &&
'Product(FT)'[sub_Name] in { "SFSA 7.2" , "SFSA 8.0" , "SFSA 8.1" ,"SFSA 9"}&&
'Product(FT)'[Reg_Create].[Date] >= DATEVALUE("04/02/2021"), "1250.00",
// Add other condition
"1250.00" //default value
)
Switch-Case statement of #PowerBI: https://www.youtube.com/watch?v=gelJWktlR80&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=56
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 |
---|---|
114 | |
97 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |