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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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