Forum Discussion
sa1
9 years agoFrequent Visitor
DATEADD not working
Hi, I have been trying to use the DATEADD function to compute a certain attribute "cost" for the previous Month. I'm using a horizontal bar graph. The Date Attribute for the table containing cost ...
- 9 years ago
As you said, you fact table has many to one relationship to your date dimension table. Since you have multiple entries for same date in fact table, you need to use ALLEXCEPT() function to group the calculation.
And make sure you include the date field from date dimension into visual.
Regards,
sa1
9 years agoFrequent Visitor
Hi,
I already have a table with only Disntict Date Values
GilbertQ
Super User
9 years agoHi there are the dates contiguous? In that there is date for every day even if you have no data?
If you do not have the contiguous then it will not recognize it as a Date table and the DateAdd function will not work.
If you do not have the contiguous then it will not recognize it as a Date table and the DateAdd function will not work.