Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi,
I have three tables that I am working with. Here is a pbix file that has these tables if it is needed to help me.
One is the list of sales and this can include single items or items combined together to make kits for those sales.
One table that is the Kits and the member items (items that make up the kit). It also has the percent I want to allocate the above Kit Sales for the gross profit.
The last table is the average value of inventory throughout the year of all items.
I would like an output as the screen shot below shows. The Gross Profit should be the sum of the individual item sales and then the percent of allocation of the Kit sales added to it.
So in this example the Speaker is 1075 = (200*3)+(500*.95) and the Mount is 65 = (20*2)+(500*.05). I then want to pull in the average value of the items.
I have tried and tried to figure out a way of doing this and I can't get the to value to sum (Kit percentage and then the regular item sales).
This is the output that I was able to get in PowerBi in two separate Table Visualisations, I need it in one though.
Thank you!
Solved! Go to Solution.
HI @NBOnecall ,
Please check below attach file if it suitable for your requirement.
Regards,
Xiaoxin Sheng
Hi @NBOnecall ,
I'd like to suggest you to take a look at following blog to know how to deal with parent-child relationships in power bi:
Please understand that this link is provided with no warranties or guarantees of content changes, and confers no rights.
Regards,
Xiaoxin Sheng
@v-shex-msft So when I go down that route to get the path of my Kit SKU (Child/Parent) it gives me "The value '9005' in 'KitSKU Table'[Kit Name] must also exist in 'KitSKU Table'[Member Item]. Please add the missing data and try again."
My Member Item is not part of the table under the column Kit Name. My Kit Name column is only the kits and then Member Item column tells what member's are apart of that kit.
Also reading through that article it doesn't look like it address me then spreading out the precentage back into the table "Sales." This is where all the financial data is.
Thanks.
Am I missing something that is super easy?
HI @NBOnecall ,
Please check below attach file if it suitable for your requirement.
Regards,
Xiaoxin Sheng
Yep this is perfect. Seeing the code and reading through it is a lot easier to me to understand then trying to read an article realted to a different process that doesn't quite fit my problem. It makes it more repeatable in the future and able to reference something that I understand. Thanks!
Still looking for help. Thanks!
User | Count |
---|---|
128 | |
109 | |
100 | |
65 | |
62 |
User | Count |
---|---|
137 | |
115 | |
102 | |
71 | |
61 |