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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Conditional Column

Hello I want to add a conditional column based off the information below. The conditional column would be for the stores in column B. So for instance if Column B = Orange then Target. My issue is that I want column B to be a slicer but I have apples in 2 tables ( Walmart and Wholefoods). 

How can I create it so that if Column A = Apple than Walmart 

and also show that if column A = Apple than Wholefoods

 

I need it to show once I select wholefoods in the Slicer I see apple and once I select Walmart in the slicer I also see apple without combining the 2 names. 

Csmith31_0-1628551861750.png

2 ACCEPTED SOLUTIONS
ChrisMendoza
Resident Rockstar
Resident Rockstar

I'm not quite sure I understand. From what I see you need to unpivot your 'Store' table so it looks like:

image.png

Then you can use [Value] as your slicer which then filters your [Attribute]

csmith31.gif






Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

Proud to be a Super User!



View solution in original post

Anonymous
Not applicable

Hi @Anonymous 

You need to add the stores to Column B and then use the field Column B as a slicer to filter fruits .

Ailsamsft_0-1628732176148.pngAilsamsft_1-1628732176150.png

Best Regards

Community Support Team _ Ailsa 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

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

Please show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hi @Anonymous 

You need to add the stores to Column B and then use the field Column B as a slicer to filter fruits .

Ailsamsft_0-1628732176148.pngAilsamsft_1-1628732176150.png

Best Regards

Community Support Team _ Ailsa Tao

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

ChrisMendoza
Resident Rockstar
Resident Rockstar

I'm not quite sure I understand. From what I see you need to unpivot your 'Store' table so it looks like:

image.png

Then you can use [Value] as your slicer which then filters your [Attribute]

csmith31.gif






Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

Proud to be a Super User!



Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.