Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
hi ,
How to get the max number by category as shown below? Thanks
ID | Week | Total Videos | Max Videos |
1 | 1 | 3 | 3 |
2 | 1 | 3 | 3 |
1 | 2 | 4 | 4 |
2 | 2 | 4 | 4 |
1 | 3 | 2 | 2 |
2 | 3 | 2 | 2 |
1 | 4 | 5 | 5 |
2 | 4 | 4 | 5 |
Solved! Go to Solution.
Hi @Kathir ,
Please create a new column:
Column = CALCULATE(MAX('Table'[Total Videos]),FILTER('Table','Table'[Week] = EARLIER('Table'[Week])))
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Kathir ,
Please create a new column:
Column = CALCULATE(MAX('Table'[Total Videos]),FILTER('Table','Table'[Week] = EARLIER('Table'[Week])))
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Kathir ,
You can create the below column with the DAX:
User | Count |
---|---|
10 | |
8 | |
5 | |
5 | |
4 |