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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Baskar
Resident Rockstar
Resident Rockstar

Need help to get above cell value in Power Query

Thanks Advanced,

 

Dear friends,

 

Goal :

Trying to get the above cell value to compare with current cell value in Power Query.

 

Tried Approach :

1. Create two column for index

     1. Start with 1

    2. Start with 0

 and did the self join. 

 

Problem:

In my approach am getting the expected result, but the things is my data set cotains 1M rows it will take very long time to do this process.

 

Help me to came out of this prob. No clue for last three days and finally am came here.

 @ImkeF

@MattAllington @Phil_Seamark @kcantor@MiguelMartinez

1 REPLY 1
ImkeF
Community Champion
Community Champion

I'm not aware of a faster method than this.

Could it be that the transformations before the merge actually cause the problem?

You could try to buffer the input-table to prevent duplicate evaluation, just be aware that this could also slow the process down, so check carefully.

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors