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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
pxg08680
Resolver III
Resolver III

Filter Selection

Hi everyone,

 

I have a slicer which gives me options, vs US Rates and vs Europe Rates.

 

 

image1.PNGimage2.PNG

As you can see, X-axis is Currency Code. With selection "vs USD" I need my X-axis to have few Currencies (say HKD, AED, SAR, AUD,NZD,CAD) and with "vs EUR", I need remaining Currencies.

 

Can this be done in .? If so please let me know.

 

If some one who want to see actual data, please do a private message so that I can share the file(confidentiality issues).

 

Any help is highly appreciated.

 

Thank You

4 REPLIES 4
v-yuta-msft
Community Support
Community Support

Hi pxg08680,

 

I have made a sample table like below based on your description:

 

If my sample data is like yours, then you can follow steps below:

1.PNG

1.Click Edit Queries -> Add Column -> Custom Column to add columns [vs EUR] and [vs USD] using your function.

2.PNG

2.Click columns [vs EUR] and [vs USD], then click Transform -> Unpivot Columns to make column name be row values.

3.PNG

3.Create a slicer on [Attribute] column and a stacked column chart using [Category] as Axis, [Attribute] as Legend, [Value] as Value.

 4.PNG5.PNG

 

Regards,

Jimmy Tao

I appreciate your response but, I have the vs EUR and vs USD values available. All I need is when I select "vs EUR" I need to display certains currencies and for "vs USD" remaining currencies. 

 

Ex: If I select "vs EUR", the X-axis should have PLN,CZK,CHF,NOK,SEK,GBP

     and for "vs USD" all the remaing currencies.

 

 

Thank you

pxg08680
Resolver III
Resolver III

Can someone help me with this.?

 

 

Thank You

Greg_Deckler
Community Champion
Community Champion

Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.