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
eilidh3
Frequent Visitor

Dax Count number of bids submitted filtered by status

Hi all,

 

I think this is a fairly simple one but I must have something slightly off.... or maybe I'm way off!!

 

I'm looking to create a hit rate... I have my bids submitted number (which only includes bids with a submitted date) but would like to create a measure of successful bids submitted.  

 

Successful bids = Pipeline Status = Preferred Bidder OR Contract Award OR Status = Won.  

 

The below isnt working.... 

 

No of Bids Successful = Calculate(
COUNTA(Opportunities[Bid Submitted Date]),
FILTER(Opportunities, Opportunities[ID_Pipeline Reporting Status] = "Preferred Bidder" || Opportunities[ID_Pipeline Reporting Status] = "Contract Award))

 

Opportunity NameBid submitted datePipeline StatusStatus
Opportunity 117/01/2022Preferred BidderOpen
Opportunity 218/01/2022Contract AwardWon
Opportunity 3 Preferred BidderOpen
Opportunity 419/01/2022Bid SubmittedOpen

 

Any help much appreciated as always 🙂  

1 ACCEPTED SOLUTION
v-cgao-msft
Community Support
Community Support

Hi @eilidh3 ,

 

Did some edits based on tamerj1's formula.

 

No of Bids Successful =
COUNTROWS (
    FILTER (
        Opportunities,
        Opportunities[Bid submitted date] <> BLANK ()
            && ( Opportunities[ID_Pipeline Reporting Status] = "Preferred Bidder"
            || Opportunities[ID_Pipeline Reporting Status] = "Contract Award"
            || Opportunities[Status] = "Won" )
    )
)

vcgaomsft_0-1659939149148.png

 

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

View solution in original post

2 REPLIES 2
v-cgao-msft
Community Support
Community Support

Hi @eilidh3 ,

 

Did some edits based on tamerj1's formula.

 

No of Bids Successful =
COUNTROWS (
    FILTER (
        Opportunities,
        Opportunities[Bid submitted date] <> BLANK ()
            && ( Opportunities[ID_Pipeline Reporting Status] = "Preferred Bidder"
            || Opportunities[ID_Pipeline Reporting Status] = "Contract Award"
            || Opportunities[Status] = "Won" )
    )
)

vcgaomsft_0-1659939149148.png

 

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

tamerj1
Super User
Super User

Hi @eilidh3 

your code assumes unique opportunity names therefore I assume the same. Please try

No of Bids Successful =
COUNTROWS (
    FILTER (
        Opportunities,
        Opportunities[Bid submitted date] <> BLANK ()
            && OR (
                Opportunities[ID_Pipeline Reporting Status] = "Preferred Bidder",
                Opportunities[ID_Pipeline Reporting Status] = "Contract Award"
            )
    )
)

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.

Top Solution Authors