Forum Discussion
DimaMD
Solution Sage
4 years agoRFM 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])
DimaMD
Solution Sage
4 years agoHi Anonymous save the file, I think you will see everything there
example file pbix
greetings from Ukraine
Anonymous
4 years agoNot applicable
Hi Dima,
Thank you very much for sending the above file. It was very useful, however I am still getting the same error that you had. Also, after reviewing your file I realised that you have the same segment name for
each RFM score. Did you happen to fix that? Thank you!
RFM
- DimaMD4 years ago
Solution Sage
Hi Anonymous , Can you provide a sample of your data?