zraopingmHelper IV2 years agoSolvedswitch with in DaxHello community can someone please point out why the first formula does not work inmage1.. image 2 works fine.thank you - Zoey MNedix2 years agozraopingm use curly brackets instead of the rounded ones (e.g: {7,8,9} )
2 RepliesReplies sorted by Most LikedAlex87Solution Sage2 years agotry this: Measure =SWITCH(TRUE(),'Date'[MonthNo] = 7 || 'Date'[MonthNo] = 8 || 'Date'[MonthNo] = 9, "Q4","Other Quarter" )MNedixSolution Sage2 years agozraopingm use curly brackets instead of the rounded ones (e.g: {7,8,9} )
Alex87Solution Sage2 years agotry this: Measure =SWITCH(TRUE(),'Date'[MonthNo] = 7 || 'Date'[MonthNo] = 8 || 'Date'[MonthNo] = 9, "Q4","Other Quarter" )
MNedixSolution Sage2 years agozraopingm use curly brackets instead of the rounded ones (e.g: {7,8,9} )
Related contentDAX formula SWITCHDAX Switch & nested IFDAX SWITCH + SELECTEDVALUE()Alternative to SWITCH ()?Switch -Containsstring