Hi,
My model is based on the structure below -with the fact table being the link between the peoples and country table.
I am trying to count the number of unique People, which i have accomplished using the countrows statement. =countrows((DISTINCT(People[Name])))
My problem arises when the I try to analyse the number of unique people by Country_Name - The total number of records appear for each person and the formula does not split the total.
Is there a way for the calculated field to work across multiple tables?
[TABLE="width: 320"]
<TBODY>[TR]
[TD]People</SPAN>
[/TD]
[TD][/TD]
[TD]Fact</SPAN>
[/TD]
[TD][/TD]
[TD]Country</SPAN>
[/TD]
[/TR]
[TR]
[TD]ID</SPAN>
[/TD]
[TD][/TD]
[TD]Sales</SPAN>
[/TD]
[TD][/TD]
[TD]ID </SPAN>
[/TD]
[/TR]
[TR]
[TD]Name</SPAN>
[/TD]
[TD][/TD]
[TD]Revenue</SPAN>
[/TD]
[TD][/TD]
[TD]Name</SPAN>
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]People</SPAN>
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Country</SPAN>
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</TBODY>[/TABLE]
Many Thanks
My model is based on the structure below -with the fact table being the link between the peoples and country table.
I am trying to count the number of unique People, which i have accomplished using the countrows statement. =countrows((DISTINCT(People[Name])))
My problem arises when the I try to analyse the number of unique people by Country_Name - The total number of records appear for each person and the formula does not split the total.
Is there a way for the calculated field to work across multiple tables?
[TABLE="width: 320"]
<TBODY>[TR]
[TD]People</SPAN>
[/TD]
[TD][/TD]
[TD]Fact</SPAN>
[/TD]
[TD][/TD]
[TD]Country</SPAN>
[/TD]
[/TR]
[TR]
[TD]ID</SPAN>
[/TD]
[TD][/TD]
[TD]Sales</SPAN>
[/TD]
[TD][/TD]
[TD]ID </SPAN>
[/TD]
[/TR]
[TR]
[TD]Name</SPAN>
[/TD]
[TD][/TD]
[TD]Revenue</SPAN>
[/TD]
[TD][/TD]
[TD]Name</SPAN>
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]People</SPAN>
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Country</SPAN>
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</TBODY>[/TABLE]
Many Thanks