Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

Dynamic Calculated Column based on Slicer

I am trying to update a value in a calculated column using a slicer selection, to allow the user to see the effect of allowing a greater time to time to pay.

 

I have set up a seperate table containing the values for the slicer that is not linked and I am using the below statement 

 

Segmentation =

IF('FinalImport'[Clearing Date] = BLANK(), "3.Poor Payers",
       IF(FinalImport'[DAYS TO PAY] <= 0 , "1.Good Payers - On Time",
                IF([paysegcheck] = 0, "2.Average Payers",
                       IF([paysegcheck] = 1 , "3.Poor Payers"))))
 
Pay seg check is measure which updates to a 1 or 0 based on minusing the slicer value from another field, I can see this works fine. However the Segmentation column is not updating? Can anyone help with where I am going wrong?
 
 

10 Replies

  • sturlaws's avatar
    sturlaws
    Resident Rockstar

    Hi,

     

    it is not possible to update a calculated column from slicer selection, I'm afraid. You would have to handle it as a measure.

    cheers,

    S

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks is there any workaround for this?

      • sturlaws's avatar
        sturlaws
        Resident Rockstar

        yes, but it depends on what you want to achive. Do you want a list of customers and which category they are in, or the count of customers pr category? Or filter on a category?