Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Kratos_ZA
Helper I
Helper I

Categorizing a calculated measure

Hi Friends,

 

Can you please help me with categorzing a measure.

 

Example.

 

1. I have a calculated measure from the 'Agents" table called [Orders Completed]. This is the sum of orders completed per agent.

2. I have a Region table with Regions which is joined to the Agents table.

3. I want to Create a matrix which has the number of agents per region that did 1-4 orders, 5-8 orders completed etc. Sample of what I want it to look like:

 

agents per reg.PNG

 

Can you please help me with the DAX and any other information on how I can do this?

 

Thanks very much!

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @Kratos_ZA,

I'd like to suggest you create a segmentation table with these ranges and use on matrix visual. Then you can write a measure formula to calculate value based current segment group:

Dynamic segmentation – DAX Patterns

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @Kratos_ZA,

I'd like to suggest you create a segmentation table with these ranges and use on matrix visual. Then you can write a measure formula to calculate value based current segment group:

Dynamic segmentation – DAX Patterns

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.