Forum Discussion

Mattbidev101's avatar
Mattbidev101
Icon for Helper I rankHelper I
5 years ago

Filter on Cumulative YOY graph not working

I have this report that you see here with an issue on my cumulative graph.  When you hover over the bar in the cumulative revenue graph, you'll see that the cumulative revenue tooltip doesn't match the total for 2021 revenue in the summary table.   

Here is all I know so far:

When i review this dax I used to create that cumulative measure, removing the section in red related to the "product mix of orders" filter on the report seems to correct the calculation (as long as i don't filter on that item).

CumulativeRevenue = CALCULATE(SUM(TreeNursuryLineItems[Amount]),FILTER(ALL(TreeNursuryLineItems),TreeNursuryLineItems[Order Date] <= MAX(TreeNursuryLineItems[Order Date])),VALUES(TreeNursuryLineItems[FiscalYear]),VALUES(TreeNursuryLineItems[Order Status]),VALUES(TreeNursuryLineItems[Project_Type]),VALUES(TreeNursuryLineItems[ProductGroup]))

 

Additionally, when i convert the bar graph to a table and highlight the 2021 portion of the summary table, the numbers are correct and adjust with any of the filters (slight difference from rounding change).

 

What am i missing so that the numbers in the bar graph are not correct?

 

Here is a link to the pbxi file to view.

https://arbordayfarm-my.sharepoint.com/:u:/g/personal/mbaldwin_arborday_org/EXbseJigroJEjZR3jeNfBkAB0cSHF5nUuI1WhMEfq1h5CA?e=BLDfdK 

 
 

 

 

16 Replies