cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Line Chart: Trend Line at year but not month level?

I have a year and month hierarchy and when I view a line chart by year I can go to analytics pane and add a trend line.

 

Then when I do the expand all down one level in hierarchy button (the single line that splits into two like a two pronged fork) the trend line goes away and I can't bring it back under analytics.

 

Am I missing something basic here...what is going on?

 

Thanks!

3 REPLIES 3
Moderator v-sihou-msft
Moderator

Re: Line Chart: Trend Line at year but not month level?

@OneWithQuestion

 

As I tested, the trend line only appear when the category field on X-axis is numeric.

 

Regards

Re: Line Chart: Trend Line at year but not month level?

I may not be following:

 

So then, NOT dates?

 

If I have Years: 2002, 2003, 2004, etc.... 2017

 

then drill down to months: 2017-01-01, 2017-02-01, etc... that won't work for Trends?

vithorsilva Occasional Visitor
Occasional Visitor

Re: Line Chart: Trend Line at year but not month level?

Power BI Line Chart with Trend line work only for a date as axis. If you use anything line mm/yyyy or not numeric, this function don't works.

Vithor Silva | http://blog.vssti.com.br

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

January 2020 Community Highlights

January 2020 Community Highlights

Make sure you didn't miss any of the things that happened in the community in January!

Top Solution Authors