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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
mvgust
Helper III
Helper III

Add results from consecutive days column

I was able to succesfully add a consecutive days columns using the below post:

 

https://community.powerbi.com/t5/Desktop/dax-grouping-consecutive-days/td-p/488880

 

I now need to use the results of consecutive days output to add the instances. So in the example below I need a measure that will disaplay 4  as the result for the the first grouping, 3 for the second grouping and so on.

 

Once I have that I'll be setting up an IF statement so if the new measure is >4, Yes otherwise No


add consecutive days.png

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @mvgust ,

 

If the value you are refering is a column you can do a similar measure to this one:

 

Counting_Values = COUNT('Table'[Consecutive Days]) 

 

However this needs some context meanig that you need to have the Consecutive days on a filter to get the data then for the next measure you need to do:

 

Yes/No = IF([Counting_Values]>4, "Yes", "No")

 

Has you can see below the values are presented, be aware that when you have more than one value the results may not be according to what you need has you can see on the total line.

MFelix_0-1606241976901.png

 

 


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @mvgust ,

 

Has the problem be solved? Please consider to mark the answer as solution if it works for you.

 

Best Regards,

Jay

MFelix
Super User
Super User

Hi @mvgust ,

 

If the value you are refering is a column you can do a similar measure to this one:

 

Counting_Values = COUNT('Table'[Consecutive Days]) 

 

However this needs some context meanig that you need to have the Consecutive days on a filter to get the data then for the next measure you need to do:

 

Yes/No = IF([Counting_Values]>4, "Yes", "No")

 

Has you can see below the values are presented, be aware that when you have more than one value the results may not be according to what you need has you can see on the total line.

MFelix_0-1606241976901.png

 

 


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors