Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have this table (left) and showing the result should be.
It will sum all the maximum shelves w
Any help will appreciated, thanks in advance!
Solved! Go to Solution.
you can do the data transform in PQ
1. change date to the first day of month
2. group by data
then you can get the output
However, the output is different from yours.
could you pls explain why you don't count 63-65 to Jan?
Proud to be a Super User!
Thank you, would it be possible to have the Dax measure
create two columns
Proud to be a Super User!
Hi @syelify
Thanks to @ryan_mayu for your timely and effective response, here are my additions:
You can create two measures as follow.
max =
VAR _month = MONTH(MAX([Date]))
VAR _max = CALCULATE(MAX([Shelves]), FILTER(ALLEXCEPT('Table', 'Table'[Door]), MONTH([Date]) = _month))
RETURN
_max
sum = CALCULATE(SUM('Table'[Shelves]), FILTER('Table', [Shelves] = [max]))
Change Date to a hierarchical structure
Output:
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you 🙂
Hi @syelify
Thanks to @ryan_mayu for your timely and effective response, here are my additions:
You can create two measures as follow.
max =
VAR _month = MONTH(MAX([Date]))
VAR _max = CALCULATE(MAX([Shelves]), FILTER(ALLEXCEPT('Table', 'Table'[Door]), MONTH([Date]) = _month))
RETURN
_max
sum = CALCULATE(SUM('Table'[Shelves]), FILTER('Table', [Shelves] = [max]))
Change Date to a hierarchical structure
Output:
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you, would it be possible to have the Dax measure
create two columns
Proud to be a Super User!
you can do the data transform in PQ
1. change date to the first day of month
2. group by data
then you can get the output
However, the output is different from yours.
could you pls explain why you don't count 63-65 to Jan?
Proud to be a Super User!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 85 | |
| 69 | |
| 38 | |
| 29 | |
| 27 |