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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
likvors_husband
Frequent Visitor

Index based on column attributes w/o group By

Hi Community,

i've found a solution for this case with group by but due to the limited RAM resources (dozens milions of rows) i am looking for an alternative - thus reaching for you 🙂

 

I want to achieve "Index" column which would look like this based on "Invoice" and "database_record_order" but again, without a group by step:

Invoicedatabase_record_orderIndex
A999991
A9910002
B9910011
B9910022
C9910031
D9910041
A9910053
B9910063
B9910074

 

Would that be even possible?

 

Many thanks

Likvor

1 ACCEPTED SOLUTION
Daryl-Lynch-Bzy
Resident Rockstar
Resident Rockstar

Hi @likvors_husband  - Could you consider not adding the Index?  Perhaps instead you can look at using the DAX RANKX function in measure only when the Index is required by a visualisation.  RANKX – DAX Guide

Second, you may consider pushing this transformation from Power Query back into the Data Source.  If you are having Memory issues it suggests that Power Qeury needs to load too much data and therefore use to much memory.  You need to ask you DBA or Database Developers to create a view.

 

View solution in original post

1 REPLY 1
Daryl-Lynch-Bzy
Resident Rockstar
Resident Rockstar

Hi @likvors_husband  - Could you consider not adding the Index?  Perhaps instead you can look at using the DAX RANKX function in measure only when the Index is required by a visualisation.  RANKX – DAX Guide

Second, you may consider pushing this transformation from Power Query back into the Data Source.  If you are having Memory issues it suggests that Power Qeury needs to load too much data and therefore use to much memory.  You need to ask you DBA or Database Developers to create a view.

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors