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
Sid25
Helper II
Helper II

how to display the result for child filter on click of parent filter

I wanna display the result of the ss1.pngss2.pngss3.pngss4.pngss5.pngss6.pngnext filter on click of parent filter and so on...

 

4 REPLIES 4
amitchandak
Super User
Super User

@Sid25 , refer if this can help.https://www.youtube.com/watch?v=cyOquvfhzNM

 

If they are in the same table you can create a hierarchy. Do create dependencies

create a new hierarchy
https://www.tutorialgateway.org/create-hierarchy-in-power-bi/
https://www.youtube.com/watch?v=x6vXVJZ_eTY

 

Sorry to bother you again but I am kinda newbie to this tool and mostly work with R and Python and did not understand the video or above-given references. and I have a single table so the relationship is no longer required in this case.i have created all the filters from that very same.

 

what I wanna do is to render the chart of other filters on click on the first filter.let's say I have a dataset of the districts and blocks within distinct districts and centers within those distinct blocks and so on. when I click on filter1 then it just renders that specific chart for that district, this is not what I want, what I really want is to render or display the chart of blocks on click of the district(blocks which are within that district). or It automatically selects all those blocks for it and displays the chart on click of the district and the same for the block to render the chart of distinct centers on click of a particular block.

 

Let's say the dataset really looks like this...

 

PID  name        district         blockname     centrename              status 

101  kelly          Indiana          Carmel        jenny &james             yes

102  Jennifer     Mississippi    Laurel          Dat Pvt                       No

103  Margot      L.A.                LA              Marilyn Pvt                 yes

104  Sia             Ohio             Akron          Chris Pvt                    No

105  Halie          Florida         Tampa          dexter Pvt                 No

 

please, guide me through to get it done, any help would be great.

v-yingjl
Community Support
Community Support

Hi @Sid25 ,

"I really want is to render or display the chart of blocks on click of the district(blocks which are within that district). or It automatically selects all those blocks for it and displays the chart on click of the district and the same for the block to render the chart of distinct centers on click of a particular block."

Still not certain what is your expected output, can you give a specific example based on your dataset for further disccssion?

 

Best Regards,
Yingjie Li

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

what I want is to render the chart of the second filter by clicking on the selection of the first filter. the first filter contains the state and the second one contains the cities of that state.let's say I select Arizona from filter1 which should select all the cities of its cities and display the chart for cities not show the state name Arizona itself in the plot area.

dummy data somewhat looks like this...

citycity_asciistate_idstate_namecounty_fipscounty_namecounty_fips_allcounty_name_all
South CreekSouth CreekWAWashington53053Pierce53053Pierce
RoslynRoslynWAWashington53037Kittitas53037Kittitas
SpragueSpragueWAWashington53043Lincoln53043Lincoln
Gig HarborGig HarborWAWashington53053Pierce53053Pierce
Lake CassidyLake CassidyWAWashington53061Snohomish53061Snohomish
TeninoTeninoWAWashington53067Thurston53067Thurston
JamestownJamestownWAWashington53009Clallam53009Clallam
Three LakesThree LakesWAWashington53061Snohomish53061Snohomish
Curlew LakeCurlew LakeWAWashington53019Ferry53019Ferry
Chain LakeChain LakeWAWashington53061Snohomish53061Snohomish
PaterosPaterosWAWashington53047Okanogan53047Okanogan
RosburgRosburgWAWashington53069Wahkiakum53069Wahkiakum
ParklandParklandWAWashington53053Pierce53053Pierce
Birch BayBirch BayWAWashington53073Whatcom53073Whatcom
AshfordAshfordWAWashington53053Pierce53053Pierce
Navy Yard CityNavy Yard CityWAWashington53035Kitsap53035Kitsap
OmakOmakWAWashington53047Okanogan53047Okanogan
FarmingtonFarmingtonWAWashington53075Whitman53075Whitman
BuckleyBuckleyWAWashington53053Pierce53053Pierce
CathcartCathcartWAWashington53061Snohomish53061Snohomish
PoulsboPoulsboWAWashington53035Kitsap53035Kitsap
AnacortesAnacortesWAWashington53057Skagit53057Skagit
MaplewoodMaplewoodWAWashington53053Pierce53053Pierce
CrestonCrestonWAWashington53043Lincoln53043Lincoln
RockfordRockfordWAWashington53063Spokane53063Spokane
WishramWishramWAWashington53039Klickitat53039Klickitat
CentraliaCentraliaWAWashington53041Lewis53041Lewis
South HillSouth HillWAWashington53053Pierce53053Pierce
Longview HeightsLongview HeightsWAWashington53015Cowlitz53015Cowlitz

new1.pngnew2.pngnew3.png

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.