Forum Discussion
mattperry008
10 years agoFrequent Visitor
PreviousDay comparison
HI All, I'm trying to make a simple report that is sorted by category, then subcategory showing sales today and sales yesterday. A slicer is used to select the date. Working from a table...
mattperry008
10 years agoFrequent Visitor
Hi Everybody,
Still not having any luck with this one, so will try to give more info about issue. Have moved to the Contoso sample sales data from Microsoft, and still cant get it working.
What I need to do is display a column of sales from today and a column with sales from yesterday.
The DAX I am using is Previous Quarter Sales = CALCULATE(SUM(Sales[SalesAmount]), PREVIOUSDAY(Calendar[DateKey]))
But when I drag the measure onto the visualisation, nothing appears for prev quarter sales.
Would appreciate any assistance - even pointers to good tutorials on time intelligence.
Many thanks,
Matt
Data: