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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Anonymous
Not applicable

X Axis Challenge

Good Afternoon,

 

I have a dataset that includes various organizations, that each deal in various currencies. Furthermore, there are two different amount types for each currency; a direct amount, and a counter amount. 

 

I'd like to plot the currencies on the X-axis and the two amount types on the Y-axis. From there, I would like to drill down into the organizational level data i.e. depicting which organizations are making up how much of the EUR direct and counter amounts, for example. 

 

Here is an example dataset: 

jackchid4_0-1654710886621.png

Org.Exposure CcyDirectFunctional CcyCounter
ACAD25USD-20
ADKK2USD-0.2
AEUR67USD-76
ATRY93USD-6
BCAD-4USD3
BDKK-5USD1
BEUR-16USD18
BTRY-0.5USD0
CCAD0EUR0
CDKK20EUR-3
CTRY-0.5EUR0
CUSD-377EUR340
DCAD0DKK0
DEUR3DKK-24
DTRY128DKK-59
DUSD1DKK-6

 

Here is an idea of where I am trying to go (Note: this chart is lacking the ability to drill down into the organizational level data):

jackchid4_1-1654710970342.png

I'm really looking forwar to your response.

 

Thank you very much!!

 

Jack

1 ACCEPTED SOLUTION
v-jayw-msft
Community Support
Community Support

Hi @Anonymous

 

What is the expected result?

Will you consider to create new table then create the visual like below?

Table 2 = 
var a = SELECTCOLUMNS('Table',"Org.",'Table'[Org.],"Ccy",'Table'[Exposure Ccy],"Amount",'Table'[Direct],"Ccy type","Exposure","Amount type","Direct")
var b = SELECTCOLUMNS('Table',"Org.",'Table'[Org.],"Ccy",'Table'[Functional Ccy],"Amount",'Table'[Counter],"Ccy type","Functional","Amount type","Counter")
Return
UNION(a,b)

vjaywmsft_0-1655111117986.png

vjaywmsft_1-1655111131474.png

vjaywmsft_2-1655111143409.png

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

1 REPLY 1
v-jayw-msft
Community Support
Community Support

Hi @Anonymous

 

What is the expected result?

Will you consider to create new table then create the visual like below?

Table 2 = 
var a = SELECTCOLUMNS('Table',"Org.",'Table'[Org.],"Ccy",'Table'[Exposure Ccy],"Amount",'Table'[Direct],"Ccy type","Exposure","Amount type","Direct")
var b = SELECTCOLUMNS('Table',"Org.",'Table'[Org.],"Ccy",'Table'[Functional Ccy],"Amount",'Table'[Counter],"Ccy type","Functional","Amount type","Counter")
Return
UNION(a,b)

vjaywmsft_0-1655111117986.png

vjaywmsft_1-1655111131474.png

vjaywmsft_2-1655111143409.png

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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