Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Taking Data from another table (Without relathions)

Hello,

 

I want to take a score fron another table without relathionships.

 

In fact, I want that in the Score Column in the Dataset table take the data from Frecuecy depending the number in "Días Transcurridos".

 

 

The data where I have the score is in "Frecuency" table.

 

 

I use another table because the data is changing dinamicali depending the data (I've a Min and a max measure)

 

In conclution I want to do someling like this:

 

 

If I should another modeling stepts to an RFM model I am always open to new ideas and improvements

from the community feedback!!
 
Thanks!
  • Hi,

     

    Try this calculated column formula

     

    =CALCULATE(MIN('Frequency Lower'[F.Puntaje]),FILTER('Frequency Lower','Frequency Lower'[Frecuency Lower]<=EARLIER([Dias Transcurridos])&&'Frequency Lower'[Frecuency Upper]>=EARLIER([Dias Transcurridos])))

     

    As of now, nothing is returned because the lower and upper limit numbers in the frequency lower table are far below those in the Dias Transcurridos column.

10 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Anonymous Looks like a good case for using static segmentation - check out Marco's write up on this here

  • Hi,

     

    It will become easier to solve the problem if you have lower and upper limit columns in your frequency table (so there should be 3 instead of 2 columns that you currenly have).  Please make that change and share the link from where i can download your PBI file.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hello!!

       

      Thanks for the help in advance! I tried to do what you say Anonymous. Buy it didn't work. The field is in blank:

       

      Ashish_MathurI've uploaded the file in: https://files.fm/u/y6cnygt5

       

      Thanks!

      • Ashish_Mathur's avatar
        Ashish_Mathur
        Super User

        Hi,

         

        I had made another request in my previous message.  Please read carefully.