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

Top Solution Authors