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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
XaviOV
Helper V
Helper V

Report, filter by name of header column

Hi,

 

I would like to know how to be able to filter the different data with the name of the column in the Report section. For example, if you want to see the data of a water meter, clicking on the name of the meter will show those values.

The date row refers to the others to filter by date.
I attach a screenshot with a part of the data.

Regards,

 

Xavi

Filter by header column.png

1 ACCEPTED SOLUTION

Hi @XaviOV ,

 

In PowerBI desktop, we can only unpivot table in Query Edit. It is not allowed to use DAX to change the table structure. And as you know, calculated columns will not display in Query edit, so I suggest you transfer data in query editor ,use custom column instead of calculated column.

 

Best Regards,

Dedmon Dai

View solution in original post

4 REPLIES 4
v-deddai1-msft
Community Support
Community Support

Hi @XaviOV ,

 

Would you please use the query editor to transfer data first:

 

Select all the columns you want to be able to filter (using shift and or control) ,right-click and select unpivot data

 

Untitled picture1.png

 

And you will get a new Attribute column, then you can create slicer to filter data by what  you want

 

 

Untitled picture2.pngUntitled picture3.png

 

 

Best Regards,

Dedmon Dai

Hi @v-deddai1-msft

I tried it, but I have calculations with different columns and when I do "Unpivot columns" this error appears (attached image).

If I created a new sheet in the excel file with the names of the calculated columns and related it to the table of calculations? Would it work?

 

Regards,

 

Xavi

 

Unpivot columns_error.png

Hi @XaviOV ,

 

In PowerBI desktop, we can only unpivot table in Query Edit. It is not allowed to use DAX to change the table structure. And as you know, calculated columns will not display in Query edit, so I suggest you transfer data in query editor ,use custom column instead of calculated column.

 

Best Regards,

Dedmon Dai

Hi @v-deddai1-msft ,

Is there another solution to not do more calculations?

 

Regards,

 

Xavi

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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