Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
A beginner question 🙂
We have a recurring monthly event that we use the same survey for - SurveyMonkey connecte to PowerBi.
We usually get responses within 5-6 days after the event. On the right there is a list of event dates, from event plan table. I need help showing average score for the event on selected date - so I'm thinking a measure that will display average of score for 7 days following selected date.
@Alina-R , You need have date/table of date(no timestamp) . it should not join with event table
then you can have measure like this displayed with event date or joined date table
//Date1 is independent Date table, Date is joined with Table
new measure =
var _max = maxx(allselected(Date1),Date1[Date])
var _min = _max -5
return
calculate( Average(Event[Score]), filter('Date', 'Date'[Date] >=_min && 'Date'[Date] <=_max))
Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI
Hi Amit,
Thanks for your reply. Unfortunately I can't quite get it to work. There is no error in measure itself, but it won't display:
"Communication plan" has date and is joined with Event table.
Date1 is independent date table.
What am I doing wrong?
User | Count |
---|---|
98 | |
90 | |
82 | |
73 | |
67 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
66 |