cancel
Showing results for 
Search instead for 
Did you mean: 
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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors