Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

Difference from previous date aggregate on graph

Hello world, 
I have made this calculation to obtain some specific data

Unapp = 
CALCULATE(COUNT('Dim - Sales'[AR Id]),filter('Fact - Receipts','Fact - Receipts'[AR Status]=="UNAPP"))

and I create this graph
 

What  i want to get is the difference from previous time aggregation, depending on that the user chose form the drill down 
E.G on the current graph it would show for 2019->7k and 2020->-28k , but once the user opens it for month view it would show e.g data for February 2020-data for January 2020
In tableau this is done with difference from previous, over here how can I do it?
Thanks everyone!!

3 Replies