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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Super User
Super User

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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