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 August 31st. Request your voucher.

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])))

Share with Power BI Enthusiasts: 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])))

Share with Power BI Enthusiasts: 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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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