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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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.

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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