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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
eddieokonkwo
New Member

Count

Hi,

I have a Table called Trackers. This table shows different departments, called program areas that have Intiatives that they track every reporting period (being weekly).

I want a formula in DAX that can count how many 'Yes' under the decision required column from the latest reporting period till the count reaches a "No" from prior reporting periods. Below is the table:

eddieokonkwo_0-1677127285759.png

 

3 REPLIES 3
ryan_mayu
Super User
Super User

not quite understand the logic, could you pls explain more and  provide the output screenshot as well?





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

Proud to be a Super User!




Hi,

Thank you so much for your reply. I have not visualized the output yet. I will try to explain for better understanding. 

 

1. The table is a history table that shows updates of "Initiatives" from different "Reporting Periods"

2. The "Initiatives" are "Building", "Construction", "Parking", "Moving" and "Clearing"

3. The "Reporting Periods" are in weekly basis, starting form the oldest to the current as seen in the table.

4. The "Decision Required" and "Progress Status" are updates made for each "Initiative" weekly.

5. The "Decision Required" column has either "Yes" or "No" as its value, while the "Progress Status" column has either "Complete", "In Progress", "No Progress" and "Implementation Underway" as its values.

6. My question is If an "Initiative" has a "Decision Required" value of "Yes" in the current "Reporting Period", I need a formula that counts how many times "Yes" occured consistently until the "Initiative" "Decision Required' value changes to "No'.

 

I need a count of all the "Yes" until a "No" and how will I be able to Visualize the Report

@eddieokonkwo  

is this what you want?

 

Column = if('Table'[Reporting Period]=max('Table'[Reporting Period])&&'Table'[Decision Required]="Yes","Yes","No")
 

1.PNG

 

if not , pls paste the sample data here, not the screenshot and provide the output(you can use excel to generate the output)

 





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

Proud to be a Super User!




Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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