I am working for some time now with Power BI and now got several requests and one of them is (from my perspective or I am thinking to complicated) a tricky one:
In a matrix we have the sales per customer:
Each customer has several childs and when I drill down in one Customer in the matrix, Now I should show the Growth of the child and the growth of the parent (customer). e.g.
|Child 1 - Customer 1||500||-17%||20%|
|Child 2 - Customer 1||700||17%||20%|
How can this be handled?
thanks and best regards,
Do you have different tables to store the child items? If so, what field do you use to create relationships between tables?
I have got the follwoing setup
Customer, Child, Sales
I linked those customers also to the forecast and the plan figures. Those two Tables are linked together (1:N).
The planning/forecasting ist not done on child but on customer level, therefore I use the Childs directly from Table 1.
What logic do you use to calculate Growth? Please review the following blog about how to provide sample data.
sorry for the incomplete information. I was not aware of the full information that should be supplied.
My formulars are the following:
Growth = [Sales FaceValue YTD EUR]/[LY FaceValue YTD EUR]-1
Sales FaceValue YTD EUR = TOTALYTD(SUM(Sales[Sales FaceValue EUR]);'Date'[Date];"02/28")
LY FaceValue YTD EUR = CALCULATE([Sales FaceValue YTD EUR];DATEADD('Date'[Date];-1;YEAR))
the field: Sales FaceValue EUR is just a calculated column in my data in order to get all different curencies to EUR.
Sorry for the inconveniences caused.
Is there any possiblity that you share me the PBIX file via Private Message?
Check out a full recap of the month!
Check out the winners of the recent 'Can You Solve These?' community challenge!
Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.