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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
yakovlol
Resolver I
Resolver I

Count Consecutive Months before Blank month

Hello Team,

 

I need your help, cannot solve the issue I have. Please help me to create a measure to get the below results

I need to count consecutive Months from the last available month in the data set for Users (column ID)

My data in power bi 

yakovlol_0-1689094713213.png

Result I want to achieve. So for each user id count number of months before "Blank" month. If the last month is blank or 0 don't count 

yakovlol_1-1689094791319.png

Many thanks for your help

1 ACCEPTED SOLUTION

Hello @Ahmedx 

Many thanks for your help. The issue is already solved 
https://www.youtube.com/watch?v=E5VZ6k9kk60
This video is helped me to uderstand and solve an issue with consecutive months

View solution in original post

2 REPLIES 2
Ahmedx
Super User
Super User

Can you please share your demo input?

Hello @Ahmedx 

Many thanks for your help. The issue is already solved 
https://www.youtube.com/watch?v=E5VZ6k9kk60
This video is helped me to uderstand and solve an issue with consecutive months

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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