Dax Switch Statements for Grouping data

EDNA Forum
Good Day

Need to set up a Dax measure with a switch statements to group data volumes by sales order line id:

Per the attached file:

Sample data set
Table for grouping data volumes

I would like to pull the measure into a slicer within a report to manipulate the data by the volume grouping.

I’m open to a better option.

Please advice of any questions.

Thank you in advance for your time.

Dax Measure Grouping Example.pbix (774.8 KB)

Hi @ambidextrousmentally

You can not use measures to filter with slicer, I suggest you use power query for that grouping rule.

  • add a column with the conditional column option and name it “Volume Group”

@ambidextrousmentally

Try this approach.

Hi @ambidextrousmentally, did the response provided by the users and experts help you solve your query? If not, how far did you get and what kind of help you need further? If yes, kindly mark the thread as solved. Thanks!

Hi @ambidextrousmentally, we’ve noticed that no response has been received from you since the 27th of January. We just want to check if you still need further help with this post? In case there won’t be any activity on it in the next few days, we’ll be tagging this post as Solved. If you have a follow question or concern related to this topic, please remove the Solution tag first by clicking the three dots beside Reply and then untick the checkbox. Thanks!