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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Ramendra
Helper IV
Helper IV

Running net promoter score

Hi team,
I want to make a graph where I want see the nps progress from day 1 to current day for a current month.
I don't want nps per day but I want running nps.
For example if first day positive, negative and neutral scores are 10, 2, 1 and second day 10, 1, 1 then then total nps on second day would be calculated by 20 positive, 3 negative, 2 neutral.
So I want to see this graph of nps as running nps.

I also want to see the status of nps at each 4 hours in a day
7 REPLIES 7
v-xicai
Community Support
Community Support

Hi @Ramendra ,

 

Currently, it is not supported to add time to date hierarchy in Power BI.

 

As a workaround, you may use series of TIME functions to get Time column, format the data type of Time column as "hh:mm:ss" or other format, and create measure like DAX below to get cumulative NPS value.

 

Column: Time = TIME(HOUR('Table'[Created]),MINUTE('Table'[Created]),SECOND('Table'[Created]))

Measure: NPS value = CALCULATE(SUM('Table'[Value]),FILTER(ALLSELECTED('Table'),'Table'[Created]<=MAX('Table'[Created])))

 

Finally, you can choose Matrix visual to display result, add Time column to Columns box of Matrix visual behind date field.

94.png

Best Regards,

Amy 

 

Community Support Team _ Amy

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi But your screenshots showing the data for feb and March also. But I have given data only for april.

I want to see MTD for april at a perticular time for example I want MTD NPS on 3rd april till 3 PM.

Can you please help.

Hi @Ramendra ,

 

Did you test using the formulas above?

  

Best Regards,

 

Community Support Team _ Amy

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Ramendra , Try cumulative like this with date Calendar

Cumm positive = CALCULATE(SUM(Table[positive]),filter(date,date[date] <=maxx(date,date[date])))
Cumm positive = CALCULATE(SUM(Table[positive]),filter(date,date[date] <=max(Table[ Date])))

 

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi
https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/

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

 Hi,

Thankyou for your help @amitchandak .
 Yes the calculate function is working fine if I want to see cumulative NPS for a month as per my requirement.

 

But I am not able to identify what to do to see the next level of same hierarchy which is like , I want to see the cumulative NPS for this month in three cotegories like morning status , afternoon status and then evening status.

 

Is there any way to add hours in date heirarchy like filter(date,date[hour] to get the result

@Ramendra , Can you share sample data and sample output. I will try

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

Hi Please find Sample input and expected output format

Happy  numberTASK numberCreatedScore TypeVendor
HAPP00001Task000101-04-20 0:00PositiveX
HAPP00002Task000201-04-20 1:00PositiveY
HAPP00003Task000301-04-20 2:00PositiveZ
HAPP00004Task000401-04-20 3:00PositiveZ
HAPP00005Task000501-04-20 4:00PositiveX
HAPP00006Task000601-04-20 5:00NegativeY
HAPP00007Task000701-04-20 6:00NegativeZ
HAPP00008Task000802-04-20 7:00NegativeZ
HAPP00009Task000902-04-20 8:00NegativeX
HAPP00010Task001002-04-20 9:00NegativeY
HAPP00011Task001102-04-20 10:00NegativeZ
HAPP00012Task001202-04-20 11:00PositiveZ
HAPP00013Task001303-04-20 12:00PositiveX
HAPP00014Task001403-04-20 13:00PositiveY
HAPP00015Task001503-04-20 14:00PositiveZ
HAPP00016Task001603-04-20 15:00PositiveZ
HAPP00017Task001704-04-20 23:00PositiveX
HAPP00018Task001805-04-20 15:00PositiveY
HAPP00019Task001906-04-20 15:00NeutralZ
HAPP00020Task002007-04-20 15:00NeutralZ
HAPP00021Task002108-04-20 15:00NeutralX
HAPP00022Task002209-04-20 22:00NeutralY
HAPP00023Task002310-04-20 15:00NeutralZ
HAPP00024Task002411-04-20 15:00NeutralZ
HAPP00025Task002512-04-20 15:00NeutralX
HAPP00026Task002613-04-20 15:00NeutralY
HAPP00027Task002714-04-20 15:00NeutralZ
HAPP00028Task002814-04-20 3:00NeutralZ
HAPP00029Task002914-04-20 8:00NeutralX
HAPP00030Task003014-04-20 12:00PositiveY
HAPP00031Task003114-04-20 15:00PositiveZ
HAPP00032Task003214-04-20 15:00PositiveZ
HAPP00033Task003314-04-20 15:00PositiveX
HAPP00034Task003414-04-20 15:00PositiveY
HAPP00035Task003514-04-20 15:00PositiveZ

 

Sample output

MonthApr-20                        
Date03-Apr-20                        
TimeNPS till the time for this month                      
 0123456789101112131415161718192021222324
xNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS Value       
yNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS Value       
ZNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS ValueNPS Value       

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.