Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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
When I choose Owner… automatically, it creates this “First Owner” and picks a “wrong” value…
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).
Solved! Go to Solution.
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.
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.
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
25 | |
19 | |
16 | |
10 | |
7 |