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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
kevinedora
Helper I
Helper I

Cumulative CSAT

Hi,

 

I'm trying to recreate what I did on excel to PowerBi and can't seem to find a way to do it.

 

Please note of the metrics below:

Average - Average Count of Surveys

Cumulative Average - Cumulative of Average Count of Surveys

CSAT - Average CSAT

Cumulative CSAT - Cumulative of Average CSAT (this is what i'm trying to recreate as calculated column)

 

kevinedora_0-1701249099160.png

 

I already have a column for Average, Cumulative Average, and CSAT but can't seem to find a way to recreate the Cumulative CSAT.

 

Below what the formula looks like.

 

kevinedora_1-1701249506686.png

 

And here's what my column looks like in Powerbi.

 

kevinedora_2-1701249629725.png

 

Please advise. Thank you!

 

2 REPLIES 2
amitchandak
Super User
Super User

@kevinedora , With a date table joined with date of your table you can have measures like

 

Calculate(averagex(Values(Date[Date]), [Average CSAT],  filter(all('Date'),'Date'[date] <=max('Date'[date])))

 

 

Calculate(averagex(Values(Date[Date]), [Average CSAT],  Window(1,ABS,0,REL, ALLSELECTED('date'[date]),ORDERBY('Date'[date],ASC)))

Continue to explore Power BI Window function Rolling, Cumulative/Running Total, WTD, MTD, QTD, YTD, FYTD: https://youtu.be/nxc_IWl-tTc
https://medium.com/@amitchandak/power-bi-window-function-3d98a5b0e07f

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
amitchandak
Super User
Super User

@kevinedora , With a date table joined with date of your table you can have measures like

 

Calculate(averagex(Values(Date[Date]), [Average CSAT],  filter(all('Date'),'Date'[date] <=max('Date'[date])))

 

 

Calculate(averagex(Values(Date[Date]), [Average CSAT],  Window(1,ABS,0,REL, ALLSELECTED('date'[date]),ORDERBY('Date'[date],ASC)))

Continue to explore Power BI Window function Rolling, Cumulative/Running Total, WTD, MTD, QTD, YTD, FYTD: https://youtu.be/nxc_IWl-tTc
https://medium.com/@amitchandak/power-bi-window-function-3d98a5b0e07f

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.