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
Consultant001
Frequent Visitor

Pass Date Gaps

 

Hi All

 

How do I count the number of items prior to a certain date?

 

I have a pass date coloum and need to count the number of items prior to the pass date.

 

Example:
PASS DATE

6/09/2018

 

I want to count the number prior to this date.

 

Thanks,

 

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

Hi @Consultant001

It is possible to count the number of items prior to the pass date, If my assumtion is not right, could you show some example date and how your dataset structure?

 

Assmue your table is like this

6.png

create a column

Column = CALCULATE(COUNT(Table1[item]),FILTER(ALL(Table1),[pass date]<=DATE(2018,6,9)))

 

Best Regards

Maggie

View solution in original post

1 REPLY 1
v-juanli-msft
Community Support
Community Support

Hi @Consultant001

It is possible to count the number of items prior to the pass date, If my assumtion is not right, could you show some example date and how your dataset structure?

 

Assmue your table is like this

6.png

create a column

Column = CALCULATE(COUNT(Table1[item]),FILTER(ALL(Table1),[pass date]<=DATE(2018,6,9)))

 

Best Regards

Maggie

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.