cancel
Showing results for
Search instead for
Did you mean:

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Helper I

## How many times each partner appeared in the top 3 more than once

Here is the sample data.
- A customer creates a quote request and is returned with multiple quotes.
- Each Quote Request has a unique ID
- Each Quote has a unique ID

- Every Quote relates to a Quote Request, any given Quote Request has multiple quotes belonging to it

I have created a measure to show how many times each Partner has a quote in the top 3 position. Like so -

Top 3 = CALCULATE(
DISTINCTCOUNT(Quotes[quote request id]),
Quotes[quote position] < 4 )

When added into a table it produces the following - For each partner showing how many times (how many distinct quote request IDs) they had a quote position of greater than 4 (Appeared in the top 3)

I am trying to put together a measure which shows "How many times each partner appeared in the top 3 more than once". Originally I tried to adjust the measure with the idea of...

Top 3 = CALCULATE(
DISTINCTCOUNT(Quotes[quote request id]),
Quotes[quote position] = 1 && Quotes[quote position] = 2 )

However this does not give the intended result. Any suggestions would be much appreciated.

The End result would show:

Sample File https://easyupload.io/bmp35x

1 ACCEPTED SOLUTION
Community Champion

"Quote Position" is redundant.

 Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! DAX is simple, but NOT EASY!
1 REPLY 1
Community Champion

"Quote Position" is redundant.

 Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! DAX is simple, but NOT EASY!

## Helpful resources

Announcements

#### Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

#### Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

#### The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors