Forum Discussion
Create variable to user in Metrics/Reports data
akj2784,
After you set a date value for the parameter, go to Date fields of your tables, then filter the Date fields to be "is before or equal to" parameter, there is an example for your reference.
Regards,
Lydia
If I do that at table level, it will always restrict the data untill the parameter value which I don't want. At some place I don't want this filter to be applicable.
- akj27848 years agoPost Partisan
To give you a context. I am using W_DAY_D joined to Revenue Fact and Forecast Fact.
Revenue is always untill the parameter date. However Forecast is always for future date. So if I restrict it to parameter value at W_DAY_D table level, I may not be able to see forecast data.
- Anonymous8 years agoNot applicable
akj2784,
In the following screenshot, you can choose different filters(equal to, is before or equal to) for different tables.
If you still have questions, please share sample data of your tables and post expected result.
Regards,
Lydia- akj27848 years agoPost Partisan
Let me try to explain again.
W_DAY_D is a common day dimension which is joined to Revenue and forecast Fact on some FKs.
Revenue and Forecast fact will not have the date column.
I want to apply this parameter filter only to Revenue Fact joined to w_day_d and NOT to Forecast joined with w_day_d.
With your method, I can apply the parameter filter at table level which may not help in my case.
- Anonymous8 years agoNot applicable
akj2784,
In your scenario, the parameter method may not be suitable for your scenario, you may need to create different measures to return the expected result.
If you have any questions about creating measures, please share sample data of your tables and post desired output so that we can provide you appropriate suggestions.
Regards,
Lydia