cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Johnny1981 Frequent Visitor
Frequent Visitor

Total by year. Values in 2 columns

Hi, I have a table like this, where the amounts are divided into 2 diferents columns. 

 

First PaymentYear 1° PaymentSecond PaymentYear 2° Payment
$ 43.499,002013$ 43.501,002013
$ 73.140,002013$ 73.141,002013
$ 87.686,002013$ 87.687,002013
$ 83.064,002013$ 83.064,002013
$ 75.875,002013$ 75.875,002013
$86.500,002013$ 86.500,002013
$ 74.027,002013$ 74.027,002013
$ 90.725,002013$ 90.726,002013
$ 65.197,002013$ 65.197,002013
$ 65.404,002013$ 65.404,002013
$ 80.000,002013$ 80.000,002013
$ 235.000,002014$ 235.000,002014
$ 205.000,002014$ 205.000,002014

 

I wanna get the total by year

 

YearTotal Payment
2013 $       1.650.239
2014 $          880.000

 

 

Thanks !!

 

 

2 REPLIES 2
Super User
Super User

Re: Total by year. Values in 2 columns

Reshape you’re table in power query before you load it.  Set it up as 

 

paymentyear, payment number, amount

 

then it is eaSy


 



* Matt is a Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
Johnny1981 Frequent Visitor
Frequent Visitor

Re: Total by year. Values in 2 columns

Thank you very much for your answer. The table in my example is only part of a very large table, in which I cannot make the change you say. The table has one row for each company.

Helpful resources

Announcements
Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Kudoed Authors
Users Online
Currently online: 115 members 1,718 guests
Please welcome our newest community members: