Jon von der Heyden
MrExcel MVP, Moderator
- Joined
- Apr 6, 2004
- Messages
- 10,912
- Office Version
- 365
- Platform
- Windows
Hi
I have a table, key fields being:
I have a dashboard that shows the measure result by retailer_name (across rows) and payer_status (across columns).
It appears to work OK with no filters on the dashboard.
Then I have an order_date slicer having selected 01/01/2021 - 30/09/2021 (dd/mm/yyyy)
And I have selected a single retailer in another slicer (lets call this RetailerA)
I can observe the following correct results:
SelectedretailerOrders = 636, of which payer_status:
always late : 4
always pays : 452
escape : 99
never pays : 21
sometimes late: 39
sometimes pays: 21
I have validated these order_ref_id counts by manually applying the retailer_name and order_date filters to the dataset.
The problem is that I also have a slicer on the dashboard for payer_status. If I select only 'never pays', it displays a result of 116, instead of the correct 21.
I can't even figure out a count of 116.
Can anyone suggest what is wrong?
I have a table, key fields being:
- retailer_name
- order_ref_id
- order_date
- payer_status
VBA Code:
Perc Orders By Payer Status by Retailer =
var SelectedOrders = COUNT(conversion_loan_collection_order[order_ref_id])
var SelectedRetailerOrders = CALCULATE(COUNT(conversion_loan_collection_order[order_ref_id]), ALL(conversion_loan_collection_order[payer_status]))
return
SelectedOrders/SelectedRetailerOrders
I have a dashboard that shows the measure result by retailer_name (across rows) and payer_status (across columns).
It appears to work OK with no filters on the dashboard.
Then I have an order_date slicer having selected 01/01/2021 - 30/09/2021 (dd/mm/yyyy)
And I have selected a single retailer in another slicer (lets call this RetailerA)
I can observe the following correct results:
SelectedretailerOrders = 636, of which payer_status:
always late : 4
always pays : 452
escape : 99
never pays : 21
sometimes late: 39
sometimes pays: 21
I have validated these order_ref_id counts by manually applying the retailer_name and order_date filters to the dataset.
The problem is that I also have a slicer on the dashboard for payer_status. If I select only 'never pays', it displays a result of 116, instead of the correct 21.
I can't even figure out a count of 116.
Can anyone suggest what is wrong?