Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Need help with calculation

Hello all,   I have a rather complex problem and I am in need of a little help. I am not as familiar with DAX as I would like to be, which may be the reason I can't seem to figure this out.    My...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi  Anonymous ,

    I created some data:

     

    Here are the steps you can follow:

    1. Create measure.

    Measure =
    MAXX(
    FILTER(ALL(Table2),
    CONTAINSSTRING(
        'Table2'[proposal codes],MAX('Table1'[office code]))=TRUE()),[Regional])

    2. Result:

    If the results don't meet your expectations, can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.

     

    Best Regards,

    Liu Yang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly