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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors