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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Count of Status combined

Hello,

 

I'm trying to build a report overview of a workflow process. An order goes through multiple stages needing to be approved by three different teams, multiple times. For instance Team #1 will need to approve it at two different stages in the workflow. Team #2 will need to approve it at three different stages, and Team #3 only needs to give final approval. 

I would like to provide a visualization of not the status they're currently in (I've got a table showing that), but which of the three teams the order is currently waiting on. 

So if its in status 1, 3 or 5, it would be attributed to Team #1, if its in status 2 or 4 its attributed to Team #2, and if its in status 6 its attributed to team #3. 

I'm thinking I need to build a new table first, but i'm struggling on how to write this in DAX. 

Any help would be appreciated!

2 REPLIES 2
v-lili6-msft
Community Support
Community Support

hi, @Anonymous

What is your data structure? How to determine the current state? (status 1, 3 or 5 /status 2 or 4/ status 6)

From your formula, If you need to add some other attribute column in it, for example: Order ID, etc.

Then create a team like this

5.JPG

Then create the relationship with Summary Table by Stats and "Current Status Count".

 

If not your case, please share sample pbix file or some data sample and expected output. You can upload it to OneDrive and post the link here. Do mask sensitive data before uploading.

 

 

 

Best Regards,

Lin

 

 

 

 

 

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

I've created the table counting each status like this: 

 

Summary Table =
SUMMARIZE (
'Remediation', // Current Table Name
'Remediation'[WorkflowStatusId], //Column of Statuses
"Current Status Count", COUNTROWS ( 'Remediation' ) //Counts the number of occurences of each status
)

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors