Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
imranasif161
Regular Visitor

Limit Direct Query data with dynamic filter

Dear Power BI Experts,

I have connected my power BI desktop with Teradata (data source). It is huge database and there are some rules where power BI cannot read full table so, I have to limit data with some date filters.

Can we create these filters inside Power Query or Report view and dynamically change it to get filtered data from database ?

 

Thanks

2 REPLIES 2
v-xinruzhu-msft
Community Support
Community Support

Hi @imranasif161 

Herer are some ways you can refer to:

1.Power query:

You can use paramaters to filter the data between the paramaters, please refer to the following link:

Create a parameter query (Power Query) - Microsoft Support

2. date slicer

In report, you can create a date table and use it as a slicer to filter the related data, please refer to the following link:

Power BI: Creating a Date Table using DAX (linkedin.com)

Use a relative date slicer or filter in Power BI - Power BI | Microsoft Learn

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

otravers
Community Champion
Community Champion

Yes, here's the relevant documentation:

https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors