I need a count of records from my fact table based on a condition.
I create param_val fact from my fact table F1.
One of my dimensions is A1 (based on A1 table having columns Low and High)
For each record of the fact table, this param_val needs to be compared to Low and High.
I need to count all records which have Low < param_val <High
For this, I have created facts Low (From the dimension table A1) and High(from the dimension table A1)
Metrics LowM1 and HighM1 have been created as min(Low) and min(High)
(Here, also, is there any other way where I can get the absolute value of the column for a particular record. This use of min gets very messy on changing levels of attributes displayed on the report.)
I am creating a filter with set qualification for the mentioned condition.
Somehow, this doesn't work.
Please let me know how to go about ?
I create param_val fact from my fact table F1.
One of my dimensions is A1 (based on A1 table having columns Low and High)
For each record of the fact table, this param_val needs to be compared to Low and High.
I need to count all records which have Low < param_val <High
For this, I have created facts Low (From the dimension table A1) and High(from the dimension table A1)
Metrics LowM1 and HighM1 have been created as min(Low) and min(High)
(Here, also, is there any other way where I can get the absolute value of the column for a particular record. This use of min gets very messy on changing levels of attributes displayed on the report.)
I am creating a filter with set qualification for the mentioned condition.
Somehow, this doesn't work.
Please let me know how to go about ?