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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
newbiepb
New Member

Help to create filter

Hello, friends,

I need some help, I'm learning powerbi and doing a small project and I need your precious help please.

I have a table called "Consumos1" with the following data:

 

Date/TimeContador MTPT01-GeralQP2-GERAL QP2.4-RefeitórioQE AC5-AVAC + Hotte 
01/01/2023 00:00:002550865964227
02/01/2023 00:00:0031309621274035
03/01/2023 00:00:0038401262328127141
04/01/2023 00:00:0039101395374130158
05/01/2023 00:00:0049201380332126132

 

 

newbiepb_0-1700226219212.png

 

 

 

Each column, in addition to the date/time, are counters with the total daily value.

I created a filter and dragged the columns into the filter but instead of showing the name of the columns (of the counters) it shows the values of the counters.
How can I create a filter with the name of the counters (MT Counter, PT01-General QP2-GENERAL, QP2.4-Canteen ,QE AC5-AVAC + Hotte) and then show the data on a card of that counter that I selected in the filter.

Can you please help?

Thank you.

 

1 REPLY 1
lbendlin
Super User
Super User

One of the first things to learn when you are new to Power Bi is that you need to unpivot your data.

 

Instead of this

lbendlin_0-1700701940215.png

 

you need this

lbendlin_1-1700701970471.png

Then you can put the attribute column in the slicer.

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.