The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 guide to create DAX measures for newbies like me.
Thanks,
George
Hi,
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] ) ) )
User | Count |
---|---|
24 | |
9 | |
8 | |
7 | |
6 |
User | Count |
---|---|
29 | |
13 | |
11 | |
10 | |
9 |