Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi Guys!
Some one can help me please!
I would like to count the number of "Pass" and "Fail" how can i dot it please below is my Dax-mesure:
NbrDistr = CALCULATE(COUNTROWS(IMrepository),IMrepository[Dist_targ_SIA]= "Pass")
i would like to also count "Fail" in the criteria
how can i do it?
Thank for your assistance.
Solved! Go to Solution.
NbrDistr = CALCULATE(COUNTROWS(IMrepository),IMrepository[Dist_targ_SIA]= "Pass"||IMrepository[Dist_targ_SIA]= "Fail")
NbrDistr = CALCULATE(COUNTROWS(IMrepository),IMrepository[Dist_targ_SIA]= "Pass"||IMrepository[Dist_targ_SIA]= "Fail")
Thank you so mutch Daniel it work
This is the colomn
I would like to have 8
i don't like Count fountion
Please try this:
PassFailCount =
CALCULATE (
    COUNTROWS ( IMrepository ),
    KEEPFILTERS ( IMrepository[Dist_targ_SIA] IN { "Pass", "Fail" } )
) 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | 
| User | Count | 
|---|---|
| 23 | |
| 12 | |
| 11 | |
| 9 | |
| 8 |