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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
clodagh2
New Member

Filtering Power Bi generated graph based on ComboBox selection

Hello,

I am aiming to filter a line graph created as a tile on PowerBi based on the selection of the combobox. My goal is to have all three lines show up if all three fields are selected in the combobox, and just one line if only one of the fields is selected. The problem is that currently it is only showing the latest selection from the combobox on the linegraph. Thank you for the help!

The url for the linegraph from powerbi is:

"https://app.powerbi.com/embed?dashboardId=5ae39d0b-1661-4841-97e7-e80614f5a40e&tileId=bc445255-fadd-... eq '" & ComboBox2.Selected.Value & "'"

 

GRAPH.png

1 ACCEPTED SOLUTION
Hariharan_R
Solution Sage
Solution Sage

Hi @clodagh2 

The URL with filter statement should be like below.

 

?filter=Store/Territory in ('NC', 'TN')

 

Ref - https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-url-filters

Thanks

Hari

Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


My Blog :: YouTube Channel :: My Linkedin


View solution in original post

2 REPLIES 2
clodagh2
New Member

Hi,

This now has all three at the same time, but still isn't coordinated with the selections of the dropdown box. I attached a screenshot of it.Screen Shot 2022-08-02 at 8.50.33 PM.png

Hariharan_R
Solution Sage
Solution Sage

Hi @clodagh2 

The URL with filter statement should be like below.

 

?filter=Store/Territory in ('NC', 'TN')

 

Ref - https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-url-filters

Thanks

Hari

Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


My Blog :: YouTube Channel :: My Linkedin


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.