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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

How to fix pbix forcing to "First value" of a column when using matrix?

I have a Clients table, with columns:

 

-Name

-Number

-Parent

-Parent Number

-Owner

 

 

 

Whenever a client has same Parent as itself…:

********

-Name: Client 1

-Number: 12345

-Parent: Client 1

-Parent Number: 12345

-Owner: xyz

********

It means that it has no parent.

 

 

 

My problem comes when using a Matrix in Power BI…

 

In Rows I have

  • Parent
  • Name

 

When I choose Owner… automatically, it creates this “First Owner” and picks a “wrong” value…

ovonel_0-1626864141479.png

 

 

I understand that since its grouping by, it just picks the first value… but the row does have a value, how can I force to select the owner?

 

 

(I guess the model is not ideal, but I would like to fix it with a measure or a calculated column).

1 ACCEPTED SOLUTION
Anonymous
Not applicable

If something has no parent, then it should not have a parent. Period. That means you should massage your data in Power Query and remove the reference to itself and replace it with either BLANKS or---much better---create a dummy parent and have all those items that do not have a parent reference this dummy member of the dimension. This is how you do it professionally following the best practices of dimensional design.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

If something has no parent, then it should not have a parent. Period. That means you should massage your data in Power Query and remove the reference to itself and replace it with either BLANKS or---much better---create a dummy parent and have all those items that do not have a parent reference this dummy member of the dimension. This is how you do it professionally following the best practices of dimensional design.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.