Unexpected relationship/measure behavior-- Can some one explain

sreachard

New Member
Joined
Aug 14, 2012
Messages
17
http://sdrv.ms/U9GUpN

I have a model with a fact table, policy dimension, customer dimension, and an inforcepolicy dimension, customer and inforce are snowflaked through policy.

The inforce dimension is monthend dates and policies that are active, but adding it as a slicer has no effect on the pivot???

I have 2 customer count measures, one is a distinctcount(dimpolicy[customerseqid]) the other is distinctcount(dimcustomer[customerseqid]) the two measures give different results, but there is a relationship between the two columns???? I thought the relationships behaved like joins, the measure in policy does seem to behave as such, but the measure using customer seems to behave like an outer join.

can some one explain why the measures behave differently and why the slicer does nothing?

Thanks

Scott
 
Hi Scott

Yes, policy seq 11 and 12 are eliminated for 2/25/2011, *but* the fact that policy seq 10 is still there instructs PowerPivot to show vikki under business f on that date. You can test this by removing the assoicated row in the 'inforce' linked table:

policyseq: 10
asOfDate: 2/25/2011

as soon as you refresh your powerpivot data and the pivot table, vikki (under business f for 2/25/2011) will be gone.
 
Upvote 0

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
If i add a measure( calculate(DISTINCTCOUNT(dimcust[cstate]),Fact)) to count how many states each business had policies in for the selected time period it is still not working.

That is because filters on fact tables are not automatically propagated to other fact tables, just as in your many-to-many relationships. There are other patterns to force this propagation, but I prefer this one:
=CALCULATE(
DISTINCTCOUNT(dimcust[cstate]),
CALCULATETABLE(
Fact
,InforceCurMonth
)
)
 
Upvote 0

Forum statistics

Threads
1,215,332
Messages
6,124,313
Members
449,152
Latest member
PressEscape

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top