Forum Discussion
bvy
1 year agoHelper V
Adding Measure extends X-Axis...
See below. This project is a distillation of a greater project, so please no out of the box solutions -- such as using visual calculations, visual level filters, or the Analytics features. The soluti...
- 1 year ago
your data model is the wrong way round.
Dates should be the dimension table and "Table1" the facts table.
Then do what Ashish_Mathur suggested.
Why is the dark line supposed to be straight? It's an average over 30 days.
By the way, you can do that much simpler with Window functions.
30DayAvg = CALCULATE(AVERAGE(Table1[Reading]), WINDOW(-29,REL,0,rel,ALLSELECTED(Dates[Date]))) - 1 year ago
PBI file attached.
bvy
1 year agoHelper V
Thank you Ashish_Mathur but the dark line is supposed to be constant (straight).
Ashish_Mathur
1 year agoSuper User
PBI file attached.