cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
n2p2gupta
Frequent Visitor

Need help with cumulative total of each row and add +1 if value repeats

I am learning DAX and need help to create DAX formula to calculate "Column2" by looking at each row in "Column1".  If value repeats in "Column1" I would like to add +1 to the existing value in "Column2".  Thanks for your help in advance.

 

Capture.PNG

 

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft
Microsoft


@n2p2gupta wrote:

I am learning DAX and need help to create DAX formula to calculate "Column2" by looking at each row in "Column1".  If value repeats in "Column1" I would like to add +1 to the existing value in "Column2".  Thanks for your help in advance.

 

Capture.PNG

 


@n2p2gupta

See the solution I posted in your another thread.

View solution in original post

1 REPLY 1
Eric_Zhang
Microsoft
Microsoft


@n2p2gupta wrote:

I am learning DAX and need help to create DAX formula to calculate "Column2" by looking at each row in "Column1".  If value repeats in "Column1" I would like to add +1 to the existing value in "Column2".  Thanks for your help in advance.

 

Capture.PNG

 


@n2p2gupta

See the solution I posted in your another thread.

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors