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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Tarun_B9012
New Member

DAX doubt

I want to create a new measure or calculated column that counts the rows where the following conditions are met:

dsi_flag_cur_wk is “Red”
part_ww_dsi_flag is “Red”
cfg_ww_dsi_flag is “Red”
ack_flag is “Yes”
commit_act_chg is “Yes”

 

When these conditions are true, the value should be counted as 1. In your visualization, you want to see the total count of these rows.

 

Can someone please help me with the dax for this. 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

=IF([dsi_flag_cur_wk] = “Red” &&
[part_ww_dsi_flag] = “Red” &&
[cfg_ww_dsi_flag] = “Red” &&
[ack_flag] = “Yes” &&
[commit_act_chg] = “Yes”,1,0)

View solution in original post

2 REPLIES 2
Tarun_B9012
New Member

Thank you it worked. 

lbendlin
Super User
Super User

=IF([dsi_flag_cur_wk] = “Red” &&
[part_ww_dsi_flag] = “Red” &&
[cfg_ww_dsi_flag] = “Red” &&
[ack_flag] = “Yes” &&
[commit_act_chg] = “Yes”,1,0)

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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