Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All,
I need help to include the child company's financial data (12CDE0001) based on its parent ownership % to its parents' financial data (11ABC0001 and 11BCD0001). I'm currently have the measure that only calculates the result individually. However, I want to include the child company's financial data based on its parents' ownership % to each of its parent and calculate the result on the parents level. I have an example file that you can download and take a look at. Thank you so much for your assistance and time.
https://drive.google.com/file/d/1s7pZtXXyv5FaKVfd7DtShjCCI2xa9ZlC/view?usp=sharing
Solved! Go to Solution.
Hi @minhquankhong ,
Looking at the reduced information you have on your model the following measure works properly:
TOTAL AFBI + Owenrship percentage =
SUMX(VALUES('PL_Domestic Entitiies'[Entity Code1]),
[Total AFBI]
+ CALCULATE (
[Total AFBI];
FILTER (
ALL ( 'PL_Domestic Entitiies' );
'PL_Domestic Entitiies'[Entity Code1] IN VALUES ( 'Ownership %'[Entity Code1] )
)
)
* LOOKUPVALUE (
'Ownership %'[Ownership %];
'Ownership %'[Owner]; SELECTEDVALUE ( 'PL_Domestic Entitiies'[Entity Code1] )
)
Just did it for one of your measures, however if you have more relationships between companies and subsidiarie this may need some changes check the PBIX attach.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @minhquankhong ,
Looking at the reduced information you have on your model the following measure works properly:
TOTAL AFBI + Owenrship percentage =
SUMX(VALUES('PL_Domestic Entitiies'[Entity Code1]),
[Total AFBI]
+ CALCULATE (
[Total AFBI];
FILTER (
ALL ( 'PL_Domestic Entitiies' );
'PL_Domestic Entitiies'[Entity Code1] IN VALUES ( 'Ownership %'[Entity Code1] )
)
)
* LOOKUPVALUE (
'Ownership %'[Ownership %];
'Ownership %'[Owner]; SELECTEDVALUE ( 'PL_Domestic Entitiies'[Entity Code1] )
)
Just did it for one of your measures, however if you have more relationships between companies and subsidiarie this may need some changes check the PBIX attach.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @MFelix
Thank you so much. I think it works for my case (I'm still working on the data and plan to test it with massive data later). I have another question and hope that you can help. Is there a way to show the split amount of the child company (12CDE0001 - Company CDB) under its parents in the matrix table on the right hand side. I have attach the PBIX file for your reference. Thank you.
Hi @minhquankhong ,
Believe that for this approach you will need to have a similar setup to the one in the blog below, the reference is to accounts but can be for companies.
For this you need to add additional table wfor a one to many relationship
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCovering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
98 | |
96 | |
75 | |
71 | |
64 |
User | Count |
---|---|
143 | |
109 | |
103 | |
82 | |
74 |