Forum Discussion
ashmitp869
Responsive Resident
9 months agoHelp with Linear Trend line ?
Hi, Help me to get the trend line like below . I have used LINESTX but I am getting the result below. I have attached my sample pbix file. https://github.com/suvechha/samp...
parry2k
Super User
9 months agoashmitp869 maybe try to change currentx value to this:
VAR CurrentX = RANKX(ALL('Date'[Year-Month Code], 'Date'[MonthYear]), CALCULATE( MAX('Date'[Year-Month Code])), , DESC)