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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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