Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
sabeensp
Helper IV
Helper IV

MAX of all

Hello,

 

I'm trying to find the max price and product out of all product. I need just 1 value Max Price and the Product associated with that price.

 

I created a meassure MAX(Price), which is fine, but as soon I put Product on the chart, it give me max price of all the product.

 

Price ---- Product ---- Current Flag

$$$$$         A                      1

$$$            A                       0
$$              A                       0

$$$            A                       0

$$$            B                       1

 

I should see only 

$$$$$         A                       1, because it is the most expensive and flag is set to 1

Thanks

 

1 ACCEPTED SOLUTION
affan
Solution Sage
Solution Sage

Hi @sabeensp

 

I hope you can acheive the required result with a simple filter. See the illustration below.

Top1 price.gif

 

If this helped you, please mark this post as an accepted solution and like to give KUDOS .

 

Regards,

Affan

 

 

 

View solution in original post

1 REPLY 1
affan
Solution Sage
Solution Sage

Hi @sabeensp

 

I hope you can acheive the required result with a simple filter. See the illustration below.

Top1 price.gif

 

If this helped you, please mark this post as an accepted solution and like to give KUDOS .

 

Regards,

Affan

 

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.