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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
Anonymous
Not applicable

@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

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?

Anonymous
Not applicable

@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

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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