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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
ShraddhaA
New Member

Procurement dashboard

I have data related to Purchase order description, vendor name and vendor code. How do i create a metric on the dashboard that shows if the same material has been purchased from different vendors at different price.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @ShraddhaA ,

I created some data:

vyangliumsft_0-1688023582190.png

 

Here are the steps you can follow:

1. Create measure.

Measure =
CONCATENATEX(
    FILTER(ALL('Table'),
    'Table'[material]=MAX('Table'[material])&&'Table'[vendor code]=MAX('Table'[vendor code])),
    'Table'[vendor name],"-")

2. Result:

vyangliumsft_1-1688023582192.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi  @ShraddhaA ,

I created some data:

vyangliumsft_0-1688023582190.png

 

Here are the steps you can follow:

1. Create measure.

Measure =
CONCATENATEX(
    FILTER(ALL('Table'),
    'Table'[material]=MAX('Table'[material])&&'Table'[vendor code]=MAX('Table'[vendor code])),
    'Table'[vendor name],"-")

2. Result:

vyangliumsft_1-1688023582192.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

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