Customers_Aging_Exclude_Int = Current Table
Customer Balance = Column in the table
Monthly_Activity_DSO = another table
Final Trx Amount = Column in that table
Here is the error:
Column Name ‘Test DSO by branch’ in Schema ‘Customers_Aging_Exclude_Int_Schema’ of Column Type ‘Decimal’ has an invalid app formula ‘=SUM(select(Customers_Aging_Exclude_Int[Customer Balance]/SUM(Monthly_Activity_DSO[Final Trx Amount]) *31, [Customer Number] = [_THISROW].[Customer Number]))’. Arithmetic expression ‘(CUSTOMERS_AGING_EXCLUDE_INT[Customer Balance]/SUM(MONTHLY_ACTIVITY_DSO[Final Trx Amount]))’ has inputs of an invalid type ‘Unknown’
However, I am now trying to break this down PER branch. Branch is a column in my table. I want to be able to select a branch and then see the DSO per that branch.
I am sorry. I was building a Dashboard. I have one table (grouped by Branch) to allow the user to select a branch. Then once they select the branch, i have a detail view from the same table - using that expression i have - to show the DSO per that branch.
Branch is a column in the first table (the table with the expression). Customer Number does not have to do with branch.
[Total Balance by Branch] / Monthly_Activity_DSO[Total Trx Amount by Branch] * 31
[Total Balance by Branch] = VC in Table A
[Total Trx Amount by Branch] = VC in Table B (Monthly_Activity_DSO)
How do i get this to work?
Gives me this:
Arithmetic expression ‘([Total Balance by Branch]/MONTHLY_ACTIVITY_DSO[Total Trx Amount by Branch])’ has inputs of an invalid type ‘Unknown’
I moved that expression to Table A. But now i am having an issue of selecting by branch (I created a Dashboard with a table of branches and a detail view of this new DSO by branch VC).
It doesnt work. No data shows when i click/choose a branch
Well, I thought the SUM was by Branch? Now [Sales Territory] is in the mix. If it was just by Branch then you could have just copied the expression over to Table A.
Now I am concerned you are mixing Summation results.
Why are you Summing by [Sales Territory] and not by Branch as was originally discussed above?
Yes - i think something is wrong with the [Sales Territory] - referecing the Location Table ( i had to create to change the Sales Territory from a number to a name)
It should probably be basically the same format as the expression you copied from Table B…just adjusted for Table A and Customer Balance. So yes, it needs to have Sales Territory, at least based on what I understand of your data.