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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
abhiram342
Microsoft Employee
Microsoft Employee

How to filter Parent ID only in child-parent Hierarchy slicer

Hi All,

 

I have table with Pipelines and Activities. However, In Pipelines Table, I have ParentPipeline and When I select ParentName, data should filter only to specific parent and don't filter childs. Also, When I filter specifc Child,  it should filter data for specific child and shouldn't filter parent.  Can you please help how to achieve it? Should I need to redesign Pipelines Table?

Pipelines:

Pipelines.png

 

Activities:

Activities.png

 

Pipelines ( PipelineID) 1 --> Activites (*)(PipelineId) ( 1 to Many)

Issue:

When I select ParentName as "Process"  Or ParentPipelineID as "B", It should display rows for PipelineID == B but below screenshot display data for child i.e C & D. Please suggest how to display data for ParentPipelineID only i.e PipelineID == B

 

results.png

 

Thanks,

Abhiram

1 REPLY 1
Rupak_bi
Responsive Resident
Responsive Resident

Hi, You are getting the right result based on the relationship you have created. Just look at your pipeline table, Pipeline ID "C "& "D"only mapped against parent ID B and so the same you are getting.  To get Child data for "B" make slicer on pipe line ID column from pipeline table.

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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