The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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 |
---|---|
15 | |
13 | |
9 | |
6 | |
6 |
User | Count |
---|---|
28 | |
18 | |
13 | |
9 | |
5 |