Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Sales Per Day = Sales / Days
Using the dataset below, how do I show that the Sales per Day = Sum(Sales) / (31 + 28)?
Salesperson | Month | Days | Sales |
Bob | January | 31 | 200 |
Fred | January | 31 | 100 |
Bob | February | 28 | 100 |
Fred | February | 28 | 50 |
Solved! Go to Solution.
you can create a measure
Measure =
VAR tbl=SUMMARIZE('Table','Table'[Month],'Table'[Days])
return sum('Table'[Sales])/sumx(tbl,'Table'[Days])
Proud to be a Super User!
you can create a measure
Measure =
VAR tbl=SUMMARIZE('Table','Table'[Month],'Table'[Days])
return sum('Table'[Sales])/sumx(tbl,'Table'[Days])
Proud to be a Super User!
User | Count |
---|---|
98 | |
90 | |
82 | |
73 | |
67 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
67 |