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
SoDoLabs
Regular Visitor

What's the most efficient way to narrow down the data?

Hi Power BI Community,

 

I have a dataset that has 1.4 million records; however, initially, I only want to grab records based a single criterion (campaign field is not null).

Below are my steps in the Query Editor:

  1. Removed most of the columns, only kept 15 of the columns. 
  2. Filtered rows based on the campaign field (not null).
  3. Changed "modifiedon" field to Datetime format.
  4. Filtered rows based on RangeStart and RangeEnd paramenters (only return records that were modified within a year).
    • One major issue: all 1.4 million records were modified within a year.

I want to use the incremental refresh to only pick up updated data moving forward. Based on my steps above, I'm getting all 1.4 million records from the start (Apply query changes are taking quite a long time.).

 

Am I doing this right? How can I improve it?

 

Thank you for the support!

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @SoDoLabs,

 

What is your data source?

 

Normally, we could clear data in Query Editor as you did in Query Editor.

 

In addition, you could could use T-SQL Query to pull the data you want.

 

Based your description, it seems that you want to use incremental refresh , please note that the feature is for Power BI Premium. 

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-piga-msft,

 

Thank for replying!

 

My data source is Dynamics 365 CRM. 

 

Since the data is from Dynamics 365 CRM directly, T-SQL is not an option, unless I load the data into a on-prem database. 

 

We do have Power BI Premium; however, the refresh time (w/ incremental refresh) was way to long. I found other posts on the Power BI Comunity that mentioned the same thing, the api connection is very slow.

 

Any sggestions?

 

Thanks,

 

Joe

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.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.