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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
jbeckham812
Frequent Visitor

Status at Last Day of Month

Hi All,

 

I'm attempting to make a count of the number of items that fit a certain status on the last day of every month and am stuck, any help appreciated.

ContainerGated OutReceived
12/16/232/26/23
22/22/233/2/23
32/25/233/4/23

 

Basically, I need a count of any item that was still "gated out" but not yet "received" on 2/28/23 (will need the same for 1/31/23,12/31/22, etc) , which in the case of the above table would be 2 (conatiners 2 and 3).

1 ACCEPTED SOLUTION
Arul
Super User
Super User

@jbeckham812 ,

try this measure,

Count of Item = 
CALCULATE(
    COUNT('Table'[Gated Out]),
    EOMONTH('Table'[Gated Out],1))

Thanks,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


View solution in original post

1 REPLY 1
Arul
Super User
Super User

@jbeckham812 ,

try this measure,

Count of Item = 
CALCULATE(
    COUNT('Table'[Gated Out]),
    EOMONTH('Table'[Gated Out],1))

Thanks,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.