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
Anonymous
Not applicable

Cumulative counts Of Assets

Hi Filks, Can anyone help me on below two scenarios to write DAX.

1. If RFID is A then cumulative count of Asset(Last Second column) should display is 1, if it's repeats A is 2, A is 3. If it returns B then it will display like 1, C is 1,  D is 1. If it all repeats then the number will be changed.

2. If RFID is A comes under with in planned start date and Planned end date then its display as 1, if its repeats also the vale is 1. If RFID comes out under with in planned start date and end date then its retun as 2.

 

Please help me Dax.

 IMG-20210415-WA0004.jpg

1 ACCEPTED SOLUTION
v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please refer to my .pbix file. But I don't quite understand the logic of the second formula. Please give me an example.

v-lionel-msft_0-1618821622138.png

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please refer to my .pbix file. But I don't quite understand the logic of the second formula. Please give me an example.

v-lionel-msft_0-1618821622138.png

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous ,The information you have provided is not making the problem clear to me. Can you please explain with an example.
Typically cumm with help date table

Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected('date'),'date'[date] <=max('date'[date])))

 

or same table 

Cumm Sales = CALCULATE(SUM('Sales'[Sales Amount]),filter(allselected('Sales'),'Sales'[date] <=max('Sales'[date])))

 

Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.