Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

Tabular help! - 1 to Many relationships/Measures based on other tables

$
0
0
I'm hoping somebody can help me!I am using Tabular SSAS, and have two datasets. Loans - This lists out all loans that have been sold. Interest - This shows how much interest is made on the loan per month, along with the date the interest is charged each month (named InterestDate). So one row from Loans is duplicated many times in this dataset, depending on how many months the loan has to run.This is what I am trying to achieve. I need to create a measure in the Loans dataset that would sum up all the interest for each loan. This way, when I am just interrogating the Loans dataset via a pivot, no rows are duplicated and I see the sum of interest per line.I also then want to split this sum of interest if I decide to drag in the InterestDate field into the Columns section in the pivot table.I hope this makes sense! Any help is really appreciated!!

Viewing all articles
Browse latest Browse all 1341

Trending Articles