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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
kapucino
Frequent Visitor

Dynamic segmentation based on average sales with in added column

 

Customer segmentation is done based on a daily sales (TW) with calculated column. It  works fine for segmentation on each separate sales. Looking for a measure to  segment Customers based on yearly average sales ?

 

Current measure and tables:

 

TWSegment = CALCULATE(

Values (TW_segment[Class]);

Filter(

TW_segment;

baza[TW]>= TW_segment[Min] &&

baza[TW]< TW_segment[Max]

)

)

 

Tables.png

1 REPLY 1
kapucino
Frequent Visitor

I managed to calculate dynamic average TW sales with complex DAX similar to this one. But this case is a bit trickier.

 

What is required is dynamic segmentation data in added column. Goal  is for example:

 

- to be able to count number od customers within segment - where segment is calculated dynamically based on average sales ( TW) per customer for filtered/  selected period ( month/ year).

- to be able to count number od Countries within segment -where segment is calculated dynamically based on average sales ( TW) per customer for filtered/  selected period ( month/ year).

 

Scenario is therefore:

- Year/month filter is selected,

- Avarage TW for selected period is calculated,

- Based on average TW Segment group should be  added column,

- Analytics based on this dynamic information in added column is calculated.

 

Any hint how this can be accomplished is appreciated.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.