Forum Discussion
veranceftw
Helper II
6 years agoGroup By two columns and associate with a third column
Hello, I have a sample dataset where: - One actor belongs to only one Series - This series repeats itself throughout some episodes with the same Actors - This actors can score some points...
- 6 years ago
veranceftw
Add this as a new column in all_series_stats table.Measure = CALCULATE( SUM ( all_series_stats[points] ), ALLEXCEPT( all_series_stats, all_series_stats[series], all_series_stats[episode], all_series_stats[season] ) )________________________
Did I answer your question? Mark this post as a solution, this will help others!.
Click on the Thumbs-Up icon on the right if you like this reply 🙂
Anand24
Super User
6 years agoCan you give an example of how your output should look like?
- veranceftw6 years ago
Helper II
The last column should be the output 🙂 Anand24
- Fowmy6 years ago
Super User
veranceftw
Add this as a new column in all_series_stats table.Measure = CALCULATE( SUM ( all_series_stats[points] ), ALLEXCEPT( all_series_stats, all_series_stats[series], all_series_stats[episode], all_series_stats[season] ) )________________________
Did I answer your question? Mark this post as a solution, this will help others!.
Click on the Thumbs-Up icon on the right if you like this reply 🙂
- veranceftw6 years ago
Helper II
It worked, thanks! Can you just give me a quick explanation?