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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Index column

Hi, 

i'd create an index column with like this:

index.jpg


Do you have a solution ? 


Bal

2 REPLIES 2
HotChilli
Super User
Super User

Column = VAR _Item = Table1[Item]
         VAR _Day = Table1[Day]
RETURN  
 CALCULATE(COUNT(Table1[Item]), FILTER(Table1, Table1[Day] <= _Day && Table1[Item] = _Item ))

Add a column like this.

 

Quick tip : to get quicker answers, post your data instead of a picture of the data

Anonymous
Not applicable

index.jpg

Hi, 

i have to add a column like "index" based on the count of date and the different id_report. 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.