cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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 November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors