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

Total of two different currencies in two columns

Dears,

I need help in Power BI,

I have three currencies in my table and I want to show the total of each currency in the Dashboard & Reports, also want to split columns for each currency.

CostSheetCurrencyIssue.jpg

 

Please assist me ASAP.

2 ACCEPTED SOLUTIONS
Super User I
Super User I

Hello @snajam ,
If I understand your request, you would like to display the total of each currency in a visual and divide the coins into columns. You don't give us much direction, so I'll give you some options. I created a table based on your description. If you add that to Power BI, it's easy to place the columns in a visual and create what you're asking for.

You can create rows or columns with totals.

c5.PNG

If you instead want each currency to be represented on a card by itself, here is a measure.c7.PNG

Total of Currency 1 = CALCULATE(SUM(CURR[Amount]),CURR[Currency]="Currency 1")

c3.PNG

Or if you prefer a table with the columns already created and the totals in each column as below screenshot shown, you can pivot the columns.

c2.PNG



Go to the Transform tab, click Pivot, and fill in the card as shown below.

c6.PNG
I


Let me know if you have any questions.

If this solves your problems, mark it as the solution, so others can easily find it. Kudos 👍are nice too.
Nathaniel





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

Proud to be a Super User!




View solution in original post

Super User III
Super User III

Hello

Create an array visual and drag Currency to the column labels. Write this measure

•SUM(Data[Total Cost])

I hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
New Member

Thanks a lot, Ashish

Super User III
Super User III

Hello

Create an array visual and drag Currency to the column labels. Write this measure

•SUM(Data[Total Cost])

I hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

Super User I
Super User I

Hello @snajam ,
If I understand your request, you would like to display the total of each currency in a visual and divide the coins into columns. You don't give us much direction, so I'll give you some options. I created a table based on your description. If you add that to Power BI, it's easy to place the columns in a visual and create what you're asking for.

You can create rows or columns with totals.

c5.PNG

If you instead want each currency to be represented on a card by itself, here is a measure.c7.PNG

Total of Currency 1 = CALCULATE(SUM(CURR[Amount]),CURR[Currency]="Currency 1")

c3.PNG

Or if you prefer a table with the columns already created and the totals in each column as below screenshot shown, you can pivot the columns.

c2.PNG



Go to the Transform tab, click Pivot, and fill in the card as shown below.

c6.PNG
I


Let me know if you have any questions.

If this solves your problems, mark it as the solution, so others can easily find it. Kudos 👍are nice too.
Nathaniel





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

Proud to be a Super User!




View solution in original post

Helpful resources

Announcements
secondImage

Happy New Year from Power BI

This is a must watch for a message from Power BI!

December Update

Check it Out!

Click here to read more about the December 2020 Updates!

Community Blog

Check it Out!

Click here to read the latest blog and learn more about contributing to the Power BI blog!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors