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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

Top Solution Authors