Forum Discussion
Trend line chart
- Anonymous4 years ago
Hi Anonymous ,
Please update the formula of your measure as below and check whether it can get your expected result.
Measure = CALCULATE ( COUNT ( 'p1'[Name] ), FILTER ( ALLSELECTED ( 'p1' ), 'p1'[Fiscal Month] <= SELECTEDVALUE ( 'p1'[Fiscal Month] ) ) )By the way, what's the data type of field [Fiscal Month]? It is Numeric or Text type? If it is Text type, the above measure will not return the correct result...
Best Regards
Anonymous , You need to have a common month /date table. Create a date from the month and then join that with date table on the axis.
for the first table, you need cumulative measures. Second one you can use as is
Cumm = CALCULATE(SUM('Table'[Count]),filter(allselected(date),date[date] <=max(date[Date])))
- Anonymous4 years agoNot applicableI have tried calculating cumulative with this query
CALCULATE (COUNT('p1'[Name]),FILTER (ALLSELECTED ('p1'[Fiscal Month]),'p1'[Fiscal Month] <= MAX ('p1'[Fiscal Month])))but I'm getting below outputMonth Cumm September 10 October 5 - Anonymous4 years agoNot applicable
Hi Anonymous ,
Please update the formula of your measure as below and check whether it can get your expected result.
Measure = CALCULATE ( COUNT ( 'p1'[Name] ), FILTER ( ALLSELECTED ( 'p1' ), 'p1'[Fiscal Month] <= SELECTEDVALUE ( 'p1'[Fiscal Month] ) ) )By the way, what's the data type of field [Fiscal Month]? It is Numeric or Text type? If it is Text type, the above measure will not return the correct result...
Best Regards