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
vimala
Frequent Visitor

column based on slicer value

Productl1ProductL2USDccyAmntEURccyAmntMultiCCyAmntMulticcy
ABCsss202520AUD
ABCccc404530CAD
EFGsss20255JPY
EFGbbb404540USD
EFGaaa404545EUR
      
      
      
Slicer     
USD     
EUR     
MultiCcy     
      
If usd  selected , then I have to use USDccyAmt to do further calculations 
IF EUR Selected , Then I have to use EURccyAmt to do further calclations 
If Multiccy selected then then I have to use MulticcyAmnt to do further calculations 
      
Simeltaneously have to pupulate the CCY coulmn , in addition to measures to show the ccy break up when Multiccy s selected.
      
based on the above all my visuals should change?  
have bar chart,pi chart,crosstab etc.   
I am stuck when multi ccy is selected, how to pupulate the ccy column and corresponding mesures to show in visuals ,cross tab table as well.
      
if anyone knows how to do it please let me know  
1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

@vimala ,

 

The slicer chart doesn't have this feature, but there's a workaround, click query editor-> click on colunm [USDccyAmnt], [EURccyAmnt] and [MulticcyAmnt]-> click transform-> Unpivot Columns.

1.PNG 

 

Then create a conditional column in power query like below:

2.PNG 

 

After apply&close, build a relationship between the two tables and the result is like below:

3.PNG4.PNG 

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yuta-msft
Community Support
Community Support

@vimala ,

 

The slicer chart doesn't have this feature, but there's a workaround, click query editor-> click on colunm [USDccyAmnt], [EURccyAmnt] and [MulticcyAmnt]-> click transform-> Unpivot Columns.

1.PNG 

 

Then create a conditional column in power query like below:

2.PNG 

 

After apply&close, build a relationship between the two tables and the result is like below:

3.PNG4.PNG 

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.