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 of next filter (child filter) on click of it's parent filter pane

I wanna display the result of the next filter in the visualization section, not the selected pane visualization.by clicking on Indiana, it

must display the result for next filter pane status and when I click on status, it must render the display the result for the next filter percentage age and so on...

 

graphs look like this...
ss1.pngss2.pngss3.pngss5.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

the dummy data looks like this...all the fields in filter contain the multiple subparts in another filter pane and so on.

let's say Indiana contains many blocks and i wanna display the visualization for blocks on click of Indiana and on the selection of any block, it must display the result for another center on click of block selection and so on.

 

PatientIDplacePatientAgeMaleChildFemaleChildLMPDateResultResultstatusProc_DatecareRegDateReferredByPregWeeks
101utah281019-05-2017 00:00singleposnormal14-02-2018 00:00yes14-02-2018 00:00Doctor37
102virginia301020-05-2017 00:00singlesasabnormal15-02-2018 00:00no15-02-2018 00:00Self19
103vermont240021-05-2017 00:00divrocedneetnormal16-02-2018 00:00no16-02-2018 00:00Doctor16
104washington351022-05-2017 00:00marriedneetabnormal17-02-2018 00:00yes17-02-2018 00:00Doctor14
105west virginia361023-05-2017 00:00marriedneetnormal18-02-2018 00:00no18-02-2018 00:00Doctor15
106oregon230124-05-2017 00:00single paraentsasabnormal19-02-2018 00:00yes19-02-2018 00:00Doctor28
107ohio301025-05-2017 00:00marriedsasnormal20-02-2018 00:00No20-02-2018 00:00Doctor14
108north dakota200126-05-2017 00:00divrocedneetnormal21-02-2018 00:00yes21-02-2018 00:00Doctor22
109oklahoma220127-05-2017 00:00in a relationshipneetnormal22-02-2018 00:00No22-02-2018 00:00Doctor30
110new jersy230028-05-2017 00:00in a relationshipneetnormal23-02-2018 00:00yes23-02-2018 00:00Doctor10
111new mexico280129-05-2017 00:00in a relationshipneetnormal24-02-2018 00:00yes24-02-2018 00:00Doctor33
112north carolina220030-05-2017 00:00single paraentposabnormal25-02-2018 00:00No25-02-2018 00:00Doctor29
113montana260031-05-2017 00:00divrocedposnormal26-02-2018 00:00yes26-02-2018 00:00Doctor7
113navada230101-06-2017 00:00in a relationshipposabnormal27-02-2018 00:00No27-02-2018 00:00Doctor24
114mississipi220002-06-2017 00:00divrocedneetabnormal28-02-2018 00:00yes28-02-2018 00:00Doctor16
115kentucky250103-06-2017 00:00divrocedsasabnormal01-03-2018 00:00No01-03-2018 00:00Self24
116maine230004-06-2017 00:00in a relationshipsasnormal02-03-2018 00:00yes02-03-2018 00:00Doctor18
117indiana220005-06-2017 00:00single paraentsasabnormal03-03-2018 00:00No03-03-2018 00:00Self33
118hawaii250006-06-2017 00:00single paraentneetnormal04-03-2018 00:00yes04-03-2018 00:00Doctor33
119illinois220007-06-2017 00:00single paraentneetabnormal05-03-2018 00:00yes05-03-2018 00:00Self27
120florida281208-06-2017 00:00single paraentneetabnormal06-03-2018 00:00No06-03-2018 00:00Doctor25
121oregon230124-05-2017 00:00single paraentsasabnormal19-02-2018 00:00yes19-02-2018 00:00Doctor28
122ohio301025-05-2017 00:00marriedsasnormal20-02-2018 00:00No20-02-2018 00:00Doctor14
123north dakota200126-05-2017 00:00divrocedneetnormal21-02-2018 00:00yes21-02-2018 00:00Doctor22
124oklahoma220127-05-2017 00:00in a relationshipneetnormal22-02-2018 00:00No22-02-2018 00:00Doctor30
125new jersy230028-05-2017 00:00in a relationshipneetnormal23-02-2018 00:00yes23-02-2018 00:00Doctor10
126new mexico280129-05-2017 00:00in a relationshipneetnormal24-02-2018 00:00yes24-02-2018 00:00Doctor33
127north carolina220030-05-2017 00:00single paraentposabnormal25-02-2018 00:00No25-02-2018 00:00Doctor29
128montana260031-05-2017 00:00divrocedposnormal26-02-2018 00:00yes26-02-2018 00:00Doctor7
129navada230101-06-2017 00:00in a relationshipposabnormal27-02-2018 00:00No27-02-2018 00:00Doctor24
130mississipi220002-06-2017 00:00divrocedneetabnormal28-02-2018 00:00yes28-02-2018 00:00Doctor16
131kentucky250103-06-2017 00:00divrocedsasabnormal01-03-2018 00:00No01-03-2018 00:00Self24
132maine230004-06-2017 00:00in a relationshipsasnormal02-03-2018 00:00yes02-03-2018 00:00Doctor18
133montana260031-05-2017 00:00divrocedposnormal26-02-2018 00:00yes26-02-2018 00:00Doctor7
134navada230101-06-2017 00:00in a relationshipposabnormal27-02-2018 00:00No27-02-2018 00:00Doctor24
135mississipi220002-06-2017 00:00divrocedneetabnormal28-02-2018 00:00yes28-02-2018 00:00Doctor16
136kentucky250103-06-2017 00:00divrocedsasabnormal01-03-2018 00:00No01-03-2018 00:00Self24
137maine230004-06-2017 00:00in a relationshipsasnormal02-03-2018 00:00yes02-03-2018 00:00Doctor18
138indiana220005-06-2017 00:00single paraentsasabnormal03-03-2018 00:00No03-03-2018 00:00Self33
139hawaii250006-06-2017 00:00single paraentneetnormal04-03-2018 00:00yes04-03-2018 00:00Doctor33
140illinois220007-06-2017 00:00single paraentneetabnormal05-03-2018 00:00yes05-03-2018 00:00Self27
141florida281208-06-2017 00:00single paraentneetabnormal06-03-2018 00:00No06-03-2018 00:00Doctor25
142oregon230124-05-2017 00:00single paraentsasabnormal19-02-2018 00:00yes19-02-2018 00:00Doctor28
143ohio301025-05-2017 00:00marriedsasnormal20-02-2018 00:00No20-02-2018 00:00Doctor14
144north dakota200126-05-2017 00:00divrocedneetnormal21-02-2018 00:00yes21-02-2018 00:00Doctor22
145oklahoma220127-05-2017 00:00in a relationshipneetnormal22-02-2018 00:00No22-02-2018 00:00Doctor30
146new jersy230028-05-2017 00:00in a relationshipneetnormal23-02-2018 00:00yes23-02-2018 00:00Doctor10
147new mexico280129-05-2017 00:00in a relationshipneetnormal24-02-2018 00:00yes24-02-2018 00:00Doctor33
148north carolina220030-05-2017 00:00single paraentposabnormal25-02-2018 00:00No25-02-2018 00:00Doctor29
149florida281208-06-2017 00:00single paraentneetabnormal06-03-2018 00:00No06-03-2018 00:00Doctor25
150oregon230124-05-2017 00:00single paraentsasabnormal19-02-2018 00:00yes19-02-2018 00:00Doctor28

 

Please guide me through to get it done.

Thanks in Advance 

 

 

 

 

 

 

 

 

7 REPLIES 7
MFelix
Super User
Super User

Hi @Sid25 ,

 

What do you mean by "must display the result for next filter pane status" and so on.

 

When you click Indiana what should the values filter out?

 

What is the expected result you want?


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



I have a single table so the relationship is no longer required in this case.i have created all the filters from that.

 

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. there might be many districts with the same name containing multiple distinct blocks which further might have many distinct centers and so on.

 

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

106  mark          Indiana         Gary              Gary Pvt                  yes             

 

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

Hi @Sid25 ,

 

I may be missunderstanding the question but that is what happens already.

 

Looking at your data if you have a slicer with district and you select indiana you will pick up the two lines below:

 

PID  name        district         blockname     centrename              status 

101  kelly          Indiana          Carmel        jenny &james             yes

106  mark          Indiana         Gary              Gary Pvt                  yes     

 

Then if you select Carmel you will get the line with PID 101 so everything is filtering.

 

Also the slicers will filter out the values with that same filter so when you filter Indiana on the next filter block you will only pick up Carmel and Gary.

 

But be aware that for this to work you need to have the right setup of your model if you have a single table this is direct but if you have dimension tables they need to be setup in the correct order.

 

Let assume that you have Fact - Block - District (tables) the relationships need to be:

Block ->fact (on block ID)

Region ->Block (On region ID)

 

Then  you need to setup the slicers based on the Region and block table.

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



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

What you want is that when you select one filter the drill down of the visualization is at the next level and not at the current selection?

 

So if you have selection of district you get the city, city you get the block and so on.

 

For this you need to make a custom Axis value, I will get back to you because I have done something similar previously.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Any Update regarding the issue, I have been looking for all the way and browsed most of the relevant solutions and articles but did not get what I was looking for, It would be a great help if you could suggest me the appropriate solution.

Yes, That's exactly what I wanna do, you got me right, it would be a great help if you could tell me how to get it done as there are few days left for this report's deployment. 

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.