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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
joshua1990
Post Prodigy
Post Prodigy

Transform Query to Inkremental Refresh

Hello everyone!

I would like to provide an incremental refresh for one of our biggest tables.

It is a oracle/ odbc table that is currently accessed by this sql:

SELECT F5801.AA1                  AS "Date", 
       F5801.AA11                 AS "Order", 
       CASE 
              WHEN F5801.AA12 ='1B' THEN Replace(REGEXP_SUBSTR(F5801.AA12 , '(^|[:])[0-9]+'), '+', '') 
       END AS "Value"

FROM   PROD.F5801 F5801
WHERE  F5801.AA1 > 120000 
       AND NOT EXISTS (SELECT * 
                       FROM   PROD.F5801 F5801_2 
                       WHERE  F5801_2.AA13 = F5801.AA14) 

 

As you can see, there is a Case within Select, a Date filter based on a Number, and the last filter based on Values within two columns.

 

Is it possible to get this transformed for an incremental refresh?

  1. Filter Date in Number format
  2. Case for String
  3. Filter/ Join for two columns

 

 

1 REPLY 1
ibarrau
Super User
Super User

Hi. I don't think you can handle this in a query. Incremental refresh is managed in power query. You can check this video to understand how to try it:

https://www.youtube.com/watch?v=BQahH53ayKU

 

Hope that helps 🙂


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

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.