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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Solved! Go to Solution.
Hi @Suganya_Hemanth ,
Here some steps that I want to share, you can check them if they suitable for your requirement.
Here is my test data:
Customers table:
Products table:
Sales table:
1.Create a measure
Customer =
VAR max_sales = CALCULATE(MAX(Sales[Amount]), Products[Category] = "Bike")
RETURN
CALCULATE(
VALUES(Customers[Name]),
FILTER(
Sales,
Sales[Amount] = max_sales &&
RELATED(Products[Category]) = "Bike"
)
)
2.Final output
Best regards
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Suganya_Hemanth ,
Here some steps that I want to share, you can check them if they suitable for your requirement.
Here is my test data:
Customers table:
Products table:
Sales table:
1.Create a measure
Customer =
VAR max_sales = CALCULATE(MAX(Sales[Amount]), Products[Category] = "Bike")
RETURN
CALCULATE(
VALUES(Customers[Name]),
FILTER(
Sales,
Sales[Amount] = max_sales &&
RELATED(Products[Category]) = "Bike"
)
)
2.Final output
Best regards
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Suganya_Hemanth assuming your model is model similar to DAX.DO, please check link with example.
Adjust your table / columns name.
Proud to be a Super User!
Thanks to help in this.
Can i do the same without using Calculate Functions, ie by using variables.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 18 | |
| 12 | |
| 11 |