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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
EriSte
Frequent Visitor

Column based on parent and daughter

Hi all,

 

So I have a report that is based on a "parent " with 3 "daughters" that I want to display in a table, by week.

 

As an example: Project 1, 2, 3 will be the parent while Product A, B, C will be the daughters.

qa.JPG

I have no problem getting the parent, with total volumes and weeks set up. What I'm having trouble with, is splitting the parents into daughters in the table (so that I get all 3 daughters, sorted under each parent). 

Any suggestions?

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @EriSte ,

 

You may try using the matrix visual.

There's a feature called drill down you can use.

vstephenmsft_0-1644910650482.png

Drill down and drill up in a visual - Power BI | Microsoft Docs

Drill Down and Up in Power BI Explained - RADACAD

 

 

 

 

Best Regards,

Stephen Tao

 

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

View solution in original post

3 REPLIES 3
v-stephen-msft
Community Support
Community Support

Hi @EriSte ,

 

You may try using the matrix visual.

There's a feature called drill down you can use.

vstephenmsft_0-1644910650482.png

Drill down and drill up in a visual - Power BI | Microsoft Docs

Drill Down and Up in Power BI Explained - RADACAD

 

 

 

 

Best Regards,

Stephen Tao

 

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

Thank you for the response.
For some reason, the "Parent" and "Daughter" compete. So even though both are selected in the "Columns" field, only the one "on top" will show.

If I however have 2 matrixes with the following:

Matrix 1

Row: Week

Column: Parent

Values: Value

 

Matrix 2

Row: Week

Column: Daughter

Values: Value

 

Then when I select the parent I want in "Matrix 1", then the "Matrix 2" shows the values per daughter. 

It will not work having both in the column area. 

Any idea what I'm doing wrong?

amitchandak
Super User
Super User

@EriSte , Product and project can sort ascending or based on sort column

They can not be sorted based on value (measure high to low)

 

https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors