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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

Top Solution Authors