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
snajam
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
Nathaniel_C
Super User
Super User

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

Ashish_Mathur
Super User
Super User

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
snajam
New Member

Thanks a lot, Ashish

Ashish_Mathur
Super User
Super User

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/
Nathaniel_C
Super User
Super User

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!




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.