Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello!
I have a Measure called NPS Score. This score is calculate liked this:
NPS Score =
var PromoterDetractor =
CALCULATE(Detail[Total Surveys],FILTER(Detail,Detail[Recommend Rating] = "Promoter")) - CALCULATE(Detail[Total Surveys],FILTER(Detail,Detail[Recommend Rating] = "Detractor"))
var Percentage =
divide(100,Detail[Total Surveys])
RETURN
PromoterDetractor * Percentage
I would like to have a table chart that looks like this:
I am struggling figuring out how to do this. I would like the NPS score as of what whatever the N filter would indicate. How do you create a Measure for that? Thank you!
Solved! Go to Solution.
@Anonymous , You can use a what if parameter
https://docs.microsoft.com/en-us/power-bi/desktop-what-if
you will get what measure
What if meausre = selectedvalue(param[param])
example , the new measure
Rolling N = CALCULATE([NPS Score],DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-1 * [What if meausre],MONTH))
@Anonymous , You can use a what if parameter
https://docs.microsoft.com/en-us/power-bi/desktop-what-if
you will get what measure
What if meausre = selectedvalue(param[param])
example , the new measure
Rolling N = CALCULATE([NPS Score],DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-1 * [What if meausre],MONTH))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
97 | |
96 | |
81 | |
74 | |
66 |
User | Count |
---|---|
126 | |
106 | |
105 | |
86 | |
72 |