March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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]
)
)
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
21 | |
14 | |
11 | |
8 | |
5 |
User | Count |
---|---|
28 | |
21 | |
20 | |
13 | |
10 |