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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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