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
jonclay
Helper IV
Helper IV

Select certain columns from a table within a Power BI report

Hi everyone,

I have a need for users to choose which columns they select in a Power BI report, but I'm struggling to find a way to get this to work. Basically, I have a table with columns such as Contact, Address, Education, Employment etc, and I'd like the users to be able to choose whether or not they see the Education and Employment fields.

I've tried using a Slicer and Unpivoting the columns, but I get the 'UNPIVOT' statement is not supported error (I'm using Direct Query to a SQL Server).

Do you know of any other way that I can achieve this?


Many thanks
Jon

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@jonclay , Yes unpivot does not work in power bi direct query. 

My advice would be to correct the table at the source database.

 

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@jonclay , Yes unpivot does not work in power bi direct query. 

My advice would be to correct the table at the source database.

 

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.