Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Using a Filter with SummarizeColumns

New day, new question.   I have an issue with a project I am working on.   In this simplified example, I have a table, t_Revenue with fields Project, Year and Revenue.   Project Year Reven...
  • amitchandak's avatar
    amitchandak
    6 years ago

    Anonymous , Let us take it like this. If you take the filter and create a table, a new table it will not be dynamic. But it is created part of measure it will be dynamic.

    We use summarize columns, summarize to have sql subqueries. sometimes we force a row context

    example

    measure
    =sumx(summarize(sales,sales[customer_id], "_Cnt",count(sales[customer_id])),if([_cnt]>1,1,0))

    Or take max till project level and then sum

    Or sum project having revenue >10000