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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
pbiuser0000
Regular Visitor

From a created hierarchy, show child when select a parent

Hello all,

 

I have a source as follows : 

 

CategorySubcategoryProductSales
BikeRoadR110
BikeRoadR210
BikeRoadR310
BikeRoadR410
BikeMountainM110
BikeMountainM210
BikeMountainM310
CarFamilyF110
CarFamilyF210
CarSoloS110
CarSoloS210

 

 

I've manuallly created a hierarchy in PowerBI : Category -> Subcategory -> Product

Then I set it as segment in my page.

 

The behaviour expected is when I select in the segment : 

- Bike, my table shows the next level Subcategory and the sales linked

SubcategorySales
Road40
Mountain40

 

- Road, my table shows the next level product and the sales linked

 

ProductSales
R110
R210
R310

 

Thank you for your help

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Hi @pbiuser0000 ,

 

According to your needs, you can create a matrix visual. It has a good hierarchical structure. I did a test, the reference is as follows:

vhenrykmstf_0-1624240512403.png

vhenrykmstf_1-1624240575455.png

Click "+" to expand further down

vhenrykmstf_2-1624240623615.png

If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.

Best Regards,
Henry

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

Dear Heny,

 

Thank you for your answer but it's not what I expect.

It's like whatever I select in the segment, my table has to display  only the next level of my hierarchy.

Below some examples :

 

If i select in the segment, the category Bike, my table displays the next level subcategory -> Mountain and Road.

pbiuser0000_0-1624542727367.png

If i select in the segment, the category Car, my table displays the next level subcategory -> Family and Solo

pbiuser0000_1-1624542833483.png

If i select in the segment, the subcategory Mountain, my table displays the next level product -> M1, M2 and M3

pbiuser0000_2-1624542954520.png

 

Thanks for your help

 

Regards

 

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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