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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
Priya_10
New Member

Count of Last 3 Months Unbilled outlets exclude the current Month

I have a column named "flag" in which "1" is against billed outlets and "0" is against unbilled outlets. I want to calculate the count of outlets that are unbilled from last 3 Months and exclude the current month. 

In full data: year_month range  is January 2018 to Decemeber 2020. 

 

In Sample data provided for help: year_month range is 2020.

 

Attached sample data image. Please guide me in using the DAX expression. 

Sample data Image.png

1 REPLY 1
lbendlin
Super User
Super User

Please provide sample data in usable format (not as a picture) , show the expected outcome, and give sufficient context.

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

Check out the May 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors