Forum Discussion

aucklanduser's avatar
aucklanduser
Helper I
7 years ago
Solved

Dynamic custom column workaround

Hi all,   I realise that custom columns are only generated at data refresh so can't be used with slicer selectvalues however I am at a loss as to how to incorporate the slicer selection into my mod...
  • aucklanduser's avatar
    aucklanduser
    7 years ago

    Thanks for the reply Yuliana, this doesnt work unfortunately with my data as I need to run a calculation at row level then aggregate into categories.

     

    I have found a solution by making a measure with a combintion of SUMX and ADDCOLUMNS. This runs the calculation by row level and can still be aggregated by category and run the sum correctly (rather than just running the calculation on the category totals).