Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
I assume your table called “categoryInfo”.
You can create a column called “weekOfYear” to get the week of year from “Week Commencing” in Query Editor. See screenshot below.
Now you can called a measure to calculate the sumAmount by weekOfyear:
sumAmountByWeek = CALCULATE(sum(categoryInfo[Amount]), ALLEXCEPT(categoryInfo, categoryInfo[WeekOfYear]))
Then you can create a measure to calculate max sumAmount:
maxSumWeekAmount = CALCULATE(MAXX(ALL(categoryInfo[WeekOfYear]), categoryInfo[sumAmountByWeek]))
Best Regards
Alex
User | Count |
---|---|
82 | |
80 | |
66 | |
49 | |
46 |
User | Count |
---|---|
104 | |
44 | |
39 | |
39 | |
39 |