Forum Discussion
Georgephilip
3 years agoNew Member
DAX Help
I am new to Power BI, struggling with "Measure" - need help in calculating overall satisfaction % which is a sum of rating 4&5 only. Can someone guide/help please? Also, is there any reference gu...
Jihwan_Kim
Super User
3 years agoHi,
I am not sure how your datamodel looks like, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
I hope the below can provide some ideas on how to create a solution for your datamodel.
Satisfaction count: =
COUNTROWS ( FILTER ( VALUES ( Data[Customer] ), [Rating:] >= 4 ) )
Satisfaction ratio: =
DIVIDE ( [Satisfaction count:], COUNTROWS ( DISTINCT ( Data[Customer] ) ) )