entaroadun
Programmer
I have a fact named "Number of Days" which contains the number of days in a given period on a Time lookup table.
I want to create a metric on this fact that simply gives me the total number of days in a period.
If the report contains:
I should get one record with 365 as the metric value.
If the report contains:
I should get 5 records with 365 in each row.
If the report contains:
I should get one record with 365 in the row.
Instead, for each of the product ones, I get records with a multiple of 365 in each row, based on the number of records in my Product lookup table for that product. It is cross-joining with the lookup table and multiplying my result!
The metric is defined as Sum([Number of Days]) with ReportLevel-standard-standard and Product-ignore-none.
Removing the Product attribute from the template removes the cross join, even if there is a product filter on the report. Therefore, the Ignore setting must be working.
But why does it Group By product when I explicitly tell it not to?
How do I do this? Help!
I want to create a metric on this fact that simply gives me the total number of days in a period.
If the report contains:
Code:
Attribute: Year
Metric: Number of Days
Filter: Year In List (2003)
If the report contains:
Code:
Attribute: Year
Product (there are 5)
Metric: Number of Days
Filter: Year In List (2003)
If the report contains:
Code:
Attribute: Year
Product
Metric: Number of Days
Filter: Year In List (2003)
Product In List (Deposit)
Instead, for each of the product ones, I get records with a multiple of 365 in each row, based on the number of records in my Product lookup table for that product. It is cross-joining with the lookup table and multiplying my result!
The metric is defined as Sum([Number of Days]) with ReportLevel-standard-standard and Product-ignore-none.
Removing the Product attribute from the template removes the cross join, even if there is a product filter on the report. Therefore, the Ignore setting must be working.
But why does it Group By product when I explicitly tell it not to?
How do I do this? Help!