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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
brugliatof
New Member

Numbering occurrences

Hey, I'm stuck in one problem that i can't come with the proper solution. I want to number in a collumn "Occurrence", the occurrences from collumn "ID". I need to number them as they appear, not count how many times they happen. Something like the below: 

 

Screen Shot 2020-12-14 at 17.35.29.png

I appreaciate your help!

 

2 REPLIES 2
lbendlin
Super User
Super User

Do you want the solution in Power Query or in DAX? If in DAX, can it be a calculated column or does it need to be a measure?

yes, i forgot to mention, it'd be perfect to have it as a calculated column! 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.