Forum Discussion
kumsha1
Post Patron
4 years agoshow 0 variance for future dates
Hi, We have below calculated measures in direct query model. Currently the variance is showing negative values for future dates. Can someone help how can we make the future dates variance values ...
- 4 years ago
kumsha1 , Try measure
if(isblank([M1]), blank(), [M1] -[M2])
or
Sumx(values(Table[Date]), if(isblank([M1]), blank(), [M1] -[M2]) )
amitchandak
Super User
4 years agokumsha1 , Try measure
if(isblank([M1]), blank(), [M1] -[M2])
or
Sumx(values(Table[Date]), if(isblank([M1]), blank(), [M1] -[M2]) )
kumsha1
Post Patron
4 years agoHi amitchandak , i changed the calc to show 0, so the line grapgh can show future dates when just variance is used.
- kumsha14 years ago
Post Patron
Thank you amitchandak