Forum Discussion
DimaMD
4 years agoSolution Sage
RFM segments
Hello community! I've made RFM analysis in table. Score of RFM is calculated in real time with mesure. I have another table with scores and names of segments. so every combined RFM score has ...
- 4 years ago
HI, HotChilli
thanks for the tip, yesterday I managed to figure it out myself and write such a measure.
I think someone will find this measure usefulSegment RFM = VAR _tab = SELECTCOLUMNS( VALUES('Sales'[ID_USER]), "RFM_Seg",[RFM] ) VAR _Seg = SELECTCOLUMNS(_tab, "#RFM_S", LOOKUPVALUE('Segment'[Segment],Segment[ID_RFM],[RFM_Seg])) return MAXX( _Seg,[#RFM_S])
v-robertq-msft
4 years agoCommunity Support
Hi,
Glad to hear that you have solved your problem by yourself, would you like to mark your own reply as a solution so that others can learn from it too?
Thanks in advance!
How to Get Your Question Answered Quickly
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.