Forum Discussion
Basic Question? Divide for average costs per month
- 10 years ago
If Time.Month are string the Function Count not work because only work with numbers. Try with CountA
- 10 years ago
Hi Talvien,
In your scenario, as 'Detailed Usage' table contains project, month and costs columns, you can calculate average costs for each project per month, you can create a measure like that:
Measure= sum('Detailed Usage'[Costs]/DISTINCTCOUNT('Detailed Usage'[Month])
Then you can use table visual to display [Project] and Measure values. See:
If you have any question, please feel free to ask.
Best Regards,
Qiuyun Yu
Exist a relationship between these tables..Detailed Usage and Time? and if exist what is the key..
- Talvien10 years ago
Helper I
Yes, there are relations. Time.ID is related to Detailed Usage (2).Month. Time.Month are Strings; the names of the Months instead of numbers.
- Vvelarde10 years ago
Community Champion
If Time.Month are string the Function Count not work because only work with numbers. Try with CountA