Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
PowerBeeEye
Employee
Employee

How to show trend using data from two tables

I have two tables The first shows data from last year:

 

2019-04-30_161521.jpg

 

The second shows data from this year:

 

2019-04-30_161508.jpg

 

I would like to plot a trend using the department as a filter like so:

 

2019-04-30_161545.jpg

 

 

Can someone give me pointers on how to achieve this?

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @PowerBeeEye,

I think that the best option is to append both tables into a single one, unpivot the columns of the groups and then create your chart from that.

Regards,
MFelix

Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

3 REPLIES 3
MFelix
Super User
Super User

Hi @PowerBeeEye,

I think that the best option is to append both tables into a single one, unpivot the columns of the groups and then create your chart from that.

Regards,
MFelix

Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



@MFelix 

 

Thank you, unpivoting and combining the tables really helped.I'm using the stacked column chart, and for some reason I can't change the Y axis to show abolute numbers and not percentage.

2019-05-01_083534.jpg

 

Also, is there a way to both show the absolutely numbers and percentage change?

turns out the type had to be changed to whole number for that column

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.