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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
jjasper
Helper II
Helper II

Countifs in Power BI

Hello, 

 

I am looking for the DAX coding to recreate a calculation in excel in Power BI. I currently have a calculation that is: (COUNTIFS(Column1 = "VIllage Name", Column2 = "LTC", Column3 = 3)+COUNTIFS(Column1 = "Village Name", Column2 = "LTC", Column3 = 4))/VillageNameCount

 

Essentially for each village I want to know how many people answered the question with a 3 or 4 then divide by the number residents who answered a survey for that village. 

 

I want to be able to just load the information from SQL into Power BI and Power BI do the calculations for me instead of excel. 

 

Hope this makes sense. 

 

Thanks

0 REPLIES 0

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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.