Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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:
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
23 | |
10 | |
10 | |
9 | |
7 |