Forum Discussion

ALambert's avatar
ALambert
Frequent Visitor
4 years ago
Solved

Creating custom columns that count/sum rows from one table based on values from another

I have a list of transactions, each with a dollar amount. I'm interested in creating several metrics about various ranges of the dollar amounts for the transaction (such as 0-30 or 150-300).    I m...
  • jennratten's avatar
    4 years ago

    Hello - here is a resource that goes into detail and provides example scenarios and sample scripts.  You will need to use the dynamic segmentation DAX pattern.  This will allow you to avoid creating separate measures for each bin.

    https://www.daxpatterns.com/dynamic-segmentation/