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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
k_rojvanakarn
New Member

Condition index column in power query editor but with diffrent maximum # values

hello guys i need to create the index column from the power query editor, using dax columns and measures for this causes the error Not enough memory to complete this operation because monthly data will reach hundred thousands of rows..

the index is based on brand name but should reset to 1 if maximum # is reached

also if maximum# is zero or null then the index should skip it

thank ü

k_rojvanakarn_0-1681846238875.png

 

3 REPLIES 3
k_rojvanakarn
New Member

thanks, with the video tutorial i am able to create a sub index column

but how do i repeat the indexing based on the maximum value? example if max is 4 then index is 1,2,3,4,1,2,3,4

I have the same problem, it would be nice, if someone could help out. How can you setup a maximum value for your index? I don´t understand, how sub index column helps with this topic.

amitchandak
Super User
Super User

@k_rojvanakarn , seem like you are looking for sub index

Power Query- Sub Category Rank and Index: https://youtu.be/tMBviW4-s4A

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
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.