martingaleh
Board Regular
- Joined
- Jul 18, 2011
- Messages
- 83
[FONT="]I have a table that looks like this:
[/FONT]
[FONT="]and I did[/FONT]
[FONT="]z = calculate(sum([rev]),filter(all(table[zversion]),table[zversion]=2))[/FONT]
[FONT="]Then I put zversion = 1 in the filter. But since this calculate removes the zversion in the filter context, if I put z in the values field, it should show every customer in the rows regardless of whether they have a zversion of 1 or not. Instead, it shows no customers in the rows and then in the grand total, it shows the grand total correctly I assume. how do I get the power pivot to show the custmer names in the rows. It doesn't.
There should be a c with 14 in srev_2. What is the rigth formula to show 12 in row b of srev_2 and 14 in row c of srev_2 regardless of what I put in the zversion filter[/FONT]
[/FONT]
[FONT="]and I did[/FONT]
[FONT="]z = calculate(sum([rev]),filter(all(table[zversion]),table[zversion]=2))[/FONT]
[FONT="]Then I put zversion = 1 in the filter. But since this calculate removes the zversion in the filter context, if I put z in the values field, it should show every customer in the rows regardless of whether they have a zversion of 1 or not. Instead, it shows no customers in the rows and then in the grand total, it shows the grand total correctly I assume. how do I get the power pivot to show the custmer names in the rows. It doesn't.
There should be a c with 14 in srev_2. What is the rigth formula to show 12 in row b of srev_2 and 14 in row c of srev_2 regardless of what I put in the zversion filter[/FONT]