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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
MSuser5
Helper III
Helper III

based on continuous values result

Hi All,

 

I have daily customer data in that if value continuously 7 then consider as 1 please find below example kindly help me.

 

DateCustomer IDValue
01/10/2023111007
02/10/2023111007
03/10/2023111007
04/10/2023111007
05/10/2023111007
08/10/2023111007
09/10/2023111000
10/10/2023111000
11/10/2023111000
12/10/2023111000
15/10/2023111000
16/10/2023111000
17/10/2023111000
18/10/2023111000
19/10/2023111007
23/10/2023111007
24/10/2023111007
25/10/2023111007
26/10/2023111007
29/10/2023111000
30/10/2023111000
31/10/2023111000
   
01/10/20231110027
02/10/20231110027
17/10/20231110027
18/10/20231110027
19/10/20231110020
23/10/20231110020
24/10/20231110027
25/10/20231110020

 

now expected result like both customer values should be : (lets say first customer have continuous 7 values 2 times so result is 2 , and second customer have only one time continuous 7 value hence result will be 1.)

Customer IDResult
111002
1110021
5 REPLIES 5
Ahmedx
Super User
Super User

pls try this

Screenshot_5.png

Hi @Ahmedx ,

 

Thanks for your effort.

I have created column same DAX but shoing error where as "OFFSET, ORDERBY, PARTITIONBY" not valid function.

FYI
Capture111.PNG 

pls try again

 

Ahmedx
Super User
Super User

the minimum not interruption is what should it be: 4 or 3 or 2?

Screenshot_3.png

Hi @Ahmedx ,

 

daily datewise If continuous value 7 then need to consider result as 1 please refer below result.

 

33.PNG

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.