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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.