Forum Discussion
Formula Returning Blank
- Anonymous8 years ago
Anonymous,
Your DAX is correct. Please drag year field or date field with the measure to table visual, otherwise you will get blank values.
Regards,
Lydia - 8 years ago
Hi Anonymous,
As Anonymous mentioned, bringing in Year/ Date field to your visual should fix this
Regards,
Thejeswar
Hi Anonymous,
The Measure is to be written as follows
Previous Quarter Sales = CALCULATE(SUM(Sheet1[Sales Amount]), PREVIOUSQUARTER('Date'[Date]))Here Sheet1 is your actual data and Date is a calendar table that has all the dates in the year/Quarter
These tables should be related by Date
Data screenshot:
Here 2018 has Q1 data and 2017 has Q4 data
Regards,
Thejeswar
- Anonymous8 years agoNot applicable
Thejeswar There's gotta be something I'm missing. I've tried that and the formula just wants to be blank for some reason:
- Anonymous8 years agoNot applicable
Anonymous,
Your DAX is correct. Please drag year field or date field with the measure to table visual, otherwise you will get blank values.
Regards,
Lydia - Thejeswar8 years ago
Super User
Hi Anonymous,
As Anonymous mentioned, bringing in Year/ Date field to your visual should fix this
Regards,
Thejeswar