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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Saloni
Helper I
Helper I

Filter

Is it possible to filter data through a row? I have a column containing 60 dates and another 10 columns containing data from different companies. Can I create an area chart/line chart and filter which companies I want to see in the visual?

1 ACCEPTED SOLUTION
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @Saloni,

 

If I understand you correctly, you may need to use the Unpivot option in Query Editor to unpivot the 10 columns which contains data from different companies to "Company" column and "Data Value" column first, then you should be able to use the "Company" column as filter to get your expected result. Here is an article about unpivot columns for your reference. Smiley Happy

 

Regards

View solution in original post

2 REPLIES 2
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @Saloni,

 

If I understand you correctly, you may need to use the Unpivot option in Query Editor to unpivot the 10 columns which contains data from different companies to "Company" column and "Data Value" column first, then you should be able to use the "Company" column as filter to get your expected result. Here is an article about unpivot columns for your reference. Smiley Happy

 

Regards

vanessafvg
Community Champion
Community Champion

look at visual filters - click on your visual and in the right hand of your screen, under where you drag your fields too you should see a visual filter filter...  or you can put a slicer on your page, a slicer is the funnel looking object in the visuals but that will apply to all visuals then.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.