Forum Discussion
sta-exens
2 years agoNew Member
Data modelling
Hi All I have set with a column which has wide range values can the values be split into qty breaks from the that column data with measure command or query Would the data broken down into break o...
amitchandak
2 years agoSuper User
sta-exens , You need to ceate a custom column
Switch( True(),
[Value] < 11, " 1 -10",
[Value] < 21, " 11 -20",
// Add other
)
Make sure you give space or create it another column with sort order with same logic.
sta-exens
2 years agoNew Member
hi amitchandak
many thanks for your reply appreciated
I've added the extra column called qty break, and added for measure as below syntax but having an error message in BI.
1 measure = Switch( True(), [Qty] < 11, " 1 -10", [Qty] < 21, " 11 -20") ,[Qty] < 21, "21 -50"), [Qty] < 50, "50 -100")))
Stephen