mozartiano
New Member
- Joined
- Sep 18, 2014
- Messages
- 18
Hello guys,
I have a table that contains how much a client paid for an invoyce ([Valor NF]) and which department received that money. However, my company divides a department in 3 hieararchical levels, which are then represented in the workbook by 3 fields named Dept. Lvl. 1, 2 & 3.
Here is my problem:
I am using power view to create a dashboard and I create 3 calculated fields to demonstrate what is the percent that each department earned each month.
Revenue:=SUM(FATURAMENTO[Valor NF])
Revenue Dept:=CALCULATE(SUM([Valor NF]);ALL(FATURAMENTO))
% of ALL:=DIVIDE([Revenue]; [Revenue Dept])
When the table is mounted with Lvl1, 2 and 3 in the lines and Year/month in the columns, I get the desired result, nevertheless, when I enable The Levels to be drilled-down, enhancing the visualization, The total is not recalculated by each level and I get every level as a parcentage of the total for level 1, which does not interest me because the lower the level, the lower the percentage values.
Thanks if anybody can help. I uploaded this test workbook in dropbox, feel motivated to download it and experiment.
https://www.dropbox.com/sh/gra5mk8cvk21wyl/AAAtEgsPwckTT7cFZduCIQ9Pa?dl=0
I have a table that contains how much a client paid for an invoyce ([Valor NF]) and which department received that money. However, my company divides a department in 3 hieararchical levels, which are then represented in the workbook by 3 fields named Dept. Lvl. 1, 2 & 3.
Here is my problem:
I am using power view to create a dashboard and I create 3 calculated fields to demonstrate what is the percent that each department earned each month.
Revenue:=SUM(FATURAMENTO[Valor NF])
Revenue Dept:=CALCULATE(SUM([Valor NF]);ALL(FATURAMENTO))
% of ALL:=DIVIDE([Revenue]; [Revenue Dept])
When the table is mounted with Lvl1, 2 and 3 in the lines and Year/month in the columns, I get the desired result, nevertheless, when I enable The Levels to be drilled-down, enhancing the visualization, The total is not recalculated by each level and I get every level as a parcentage of the total for level 1, which does not interest me because the lower the level, the lower the percentage values.
Thanks if anybody can help. I uploaded this test workbook in dropbox, feel motivated to download it and experiment.
https://www.dropbox.com/sh/gra5mk8cvk21wyl/AAAtEgsPwckTT7cFZduCIQ9Pa?dl=0