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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
webbj
Helper I
Helper I

Novice; API RAW data manipulation to calculate CSAT

Hello All, I'm a complete novice with PowerBI and data analysis in general.. so any help would be much appreciated. 

 

I am trying to calculate average CSAT inside Powerbi. The RAW data is being pulled in via an API. 

 

There's no 'score' associated with the 'Rating' so I created a table in the Model section called CSAT Response Weight with two columns called weight.id and weight.score and linked the tables together via weight id and availablecategories.name.

 

webbj_1-1643638964824.png

webbj_2-1643639024951.png

webbj_3-1643639154173.png

 

I was then trying to multiply the score and the count of categories but I've gone wrong somewhere as it's not multiplying the numbers i question i.e. excellent = 5, score= 4 so it should be 5 * 4 = 20

Count of results.categories x Count of weight.score = COUNTA('CSAT Results'[results.categories]) * COUNTA('CSAT Response Weight'[weight.score])

 

webbj_4-1643639358320.png

However I at a loss of what to do next / if what I have done is the best way to go about this / if this is correct! 

 

Any help would be much appreciated, if more information is required please let me know.

 

 

 

 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@ , create a measure like


Count of results.categories x Count of weight.score =
sumx('CSAT Categories[Avaiable category Name]', calculate( COUNTA('CSAT Results'[results.categories]) * MAx('CSAT Response Weight'[weight.score])))

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@ , create a measure like


Count of results.categories x Count of weight.score =
sumx('CSAT Categories[Avaiable category Name]', calculate( COUNTA('CSAT Results'[results.categories]) * MAx('CSAT Response Weight'[weight.score])))

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Sorry for the delay! - this really helped thankyou

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.