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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

Switch for column instead of measure

Hi Power BI Community,

 

I am trying to use a switch to switch between columns. For example, if user selects 1, display column A, else column B. Is there a creative way to accomplish this?

 

Any feedback is highly appreciated.

1 ACCEPTED SOLUTION
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@Anonymous,

This can be achieved by creating a disconnect table, You can review the example in the following knowledge base.

https://community.powerbi.com/t5/Community-Knowledge-Base/Dynamic-column-based-on-slicer-selection/ta-p/162635

Regards,
Lydia

Community Support Team _ Lydia Zhang
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
TommyMorrissey
New Member

The 'solution' link leads to a page that says "You do not have sufficient privileges for this resource or its parent to perform this action." How does one solve this issue?

v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@Anonymous,

This can be achieved by creating a disconnect table, You can review the example in the following knowledge base.

https://community.powerbi.com/t5/Community-Knowledge-Base/Dynamic-column-based-on-slicer-selection/ta-p/162635

Regards,
Lydia

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

Hi, 
Could you pls let me know how can I access this link, it seems I'm not having sufficient previliges to view this solution.

Thank you.

 

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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