Forum Discussion
Remove Measure at Drill Down level?
- 9 years ago
Hi J_R_Cribb,
Based on my test, you should be able to use the formula below to create a new measure to calculate Budget for Customer and Product accordingly, and show the measure instead of the Budget column on the Matrix in your scenario.
Measure for Budget = IF ( HASONEVALUE ( 'Product'[Product] ), 0, SUM ( Budget[Budget] ) )
Here is the modified pbix file for your reference. :smileyhappy:
Regards
Hi J_R_Cribb,
It would be great if you can provide some sample data & a snapshot of the end result you want to achieve.
Regards
Hi Anonymous
This is what I am currently seeing (Left table shows correct Budget at customer level, right table shows sum of budget when drilled down to product level.
I'd like to see a zero value in the Budget column when I drill down to view product.
| Invoiced Table | Budget Table | |||||
| Customer | Product | Invoiced | Customer | Budget | ||
| 1 | 000001 | £10.00 | 1 | £50.00 | ||
| 1 | 000002 | £20.00 | 2 | £100.00 | ||
| 1 | 000002 | £20.00 | 3 | £90.00 | ||
| 2 | 000003 | £50.00 | ||||
| 3 | 000004 | £100.00 |
I hope this data sample is satisfactory?
My data model is far more complex so tried to simplify as much as possible.
Thank you Anonymous
- v-ljerr-msft9 years ago
Microsoft Employee
Hi J_R_Cribb,
Forecast Revenue & Revenue are held in different tables.
Where are the Forecast Revenue and Revenue column? I haven't seen them in your sample data.
Could you share a sample pbix file(with just some mock data) which can reproduce the issue, so that we can better assist on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading. :smileyhappy:
Regards
- J_R_Cribb9 years ago
Helper I
Hi v-ljerr-msft
Please see below link to simple report.
https://1drv.ms/u/s!At3Y510MQDVqgjR9IUXahSceAsrV
Thank you
- v-ljerr-msft9 years ago
Microsoft Employee
Hi J_R_Cribb,
Based on my test, you should be able to use the formula below to create a new measure to calculate Budget for Customer and Product accordingly, and show the measure instead of the Budget column on the Matrix in your scenario.
Measure for Budget = IF ( HASONEVALUE ( 'Product'[Product] ), 0, SUM ( Budget[Budget] ) )
Here is the modified pbix file for your reference. :smileyhappy:
Regards