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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
MichaelP
Advocate I
Advocate I

Impact of Incremental Dataset refresh partitions on the Power Query AddRankColumn function....

I have a table of records that contains date and time of record creations.

I wanted to rank records by date and time.

I used the Power Query AddRankColumn

It worked fine in PowerBI Desktop.

However I soon understood that I wasn't getting the expected ranking in PowerBI Service because I implemented Incremental Refresh on my dataset.

Basically what I observed was that records were Ranked within each partitions created by PowerBI Service.... Leading to completely useless and inaccurate my rank column.

 

Record Creation DateValuePartitions in Tabular EditorRank column value
June 14, 2023We don't care2023Q3062
June 20, 2023We don't care2023Q3061
July 3, 2023We don't care2023Q3073
July 5, 2023We don't care2023Q3072
July 21, 2023We don't care2023Q3071
August 9, 2023We don't care2023Q308091
August 10, 2023We don't care2023Q308101
August 11, 2023We don't care2023Q308111

 

How would you suggest to ensure the ranking applies across partitions?

The reason I am doing that initiallly,  is that I wanted to filter the report with the last 2 or 3 extractions, so selecting rank 2 or 3, shall have addressed that.

 

NB: the source are files, auto extracted.

1 REPLY 1
MichaelP
Advocate I
Advocate I

Update: I have actually used the DAX Rank function instead, which gives me what I want....

nevertheless, the partionning impact on the PowerQUery is still interesting to be aware off.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors