Forum Discussion
How To Filter Data Before loading with Direct Query option using Redshift
- 1 year ago
Sorry for the delay in responding.
You can use parameters in Power BI to filter the data as shown in the attachment. If that approach doesn’t work, an alternative workaround would be to create a dedicated reporting table in Redshift and use it as the source for your view. Then use view as a source in Power BI model in Direct Query mode. You can populate this reporting table by writing a stored procedure that refreshes the data daily (or as per your requirements) and schedule it accordingly. Since the model is connected in Direct Query mode, the report will always reflect whatever data is available in the reporting table, and you can still apply additional filtering within Power BI using page level slicers.
Thanks.
Hi Koritala ,
If you've had a chance to review the attached PBIX file. If not, please take a look and let me know if you need any additional information or clarification to proceed.
Best regards,
Yugandhar