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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
EduardoMachado
New Member

Enable or Disable columns in a report

I want to allow the user to activate or deactivate columns in the table visual, something like a filter in which they select which columns they want to see in the report

The Fact table has 5 columns with their respective values.

test 1
test 2
test 3
test 4
test 5

In the table I only want to show the columns test1, test3 and test 5, the user does not have access to the data structure, so it needs to be something like a filter, but which allows the columns to be shown or not.

1 ACCEPTED SOLUTION
SamWiseOwl
Community Champion
Community Champion

Hi @EduardoMachado 

Have you tried Field Parameters?: https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters

 

Here my user tickets the columns they want to see in the table.

With 2 columns that always appear regardless.

SamWiseOwl_0-1730470594573.png

 

To create them go to Modelling | Field Parameters

SamWiseOwl_1-1730470648019.png

If they are columns you can just drag them in.

When using Aggregates like SUM(this field) or Count(that field) you must make them as measures first.

You can tell the field is a measure due to the calculator icon.

SamWiseOwl_2-1730470731611.png

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

View solution in original post

2 REPLIES 2
EduardoMachado
New Member

Exactly, thank you very much @SamWiseOwl.

SamWiseOwl
Community Champion
Community Champion

Hi @EduardoMachado 

Have you tried Field Parameters?: https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters

 

Here my user tickets the columns they want to see in the table.

With 2 columns that always appear regardless.

SamWiseOwl_0-1730470594573.png

 

To create them go to Modelling | Field Parameters

SamWiseOwl_1-1730470648019.png

If they are columns you can just drag them in.

When using Aggregates like SUM(this field) or Count(that field) you must make them as measures first.

You can tell the field is a measure due to the calculator icon.

SamWiseOwl_2-1730470731611.png

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.