Forum Discussion
Quote to Sales Conversion Analyses
- 6 years ago
Hi HabibAdil ,
I created a model like this:
Then, I created a meassure:
Q_V = CALCULATE( MAX(Quotes[Quote Version]), FILTER( SO, SO[SO_NO] <> BLANK() ) )Then, I got "Quick loaded outcome wanted":
But for "Not Quick loaded outcome wanted", you can't get the correct result from the model:
So you need to create a new data model, like this:
Then, I created a measure:
Measure = VAR x = CALCULATE( DISTINCTCOUNT('Quotes (2)'[SO_NO]), ALLEXCEPT( 'Quotes (2)', 'Quotes (2)'[Quote No] ), ALL('SO (2)') ) RETURN IF( x = 1 && MAX('Quotes (2)'[Opportunity_GUID]) = MAX('SO (2)'[Opportunity_GUID]) && MAX('Quotes (2)'[Opportunity_GUID]) <> BLANK(), MAX('Quotes (2)'[Quote Version]), BLANK() )Then, added a filter and you could get the result:
Best regards,
Lionel ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi HabibAdil ,
"The issue I have is, I have many versions of the same quote. One version of the same quote might have been quick loaded while the other one not or connected to SO through opportunity. ..."
Please give a more specific example data, maybe we can use DAX to solve your problem.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- v-lionel-msft6 years agoCommunity Support
Hi HabibAdil ,
I created a model like this:
Then, I created a meassure:
Q_V = CALCULATE( MAX(Quotes[Quote Version]), FILTER( SO, SO[SO_NO] <> BLANK() ) )Then, I got "Quick loaded outcome wanted":
But for "Not Quick loaded outcome wanted", you can't get the correct result from the model:
So you need to create a new data model, like this:
Then, I created a measure:
Measure = VAR x = CALCULATE( DISTINCTCOUNT('Quotes (2)'[SO_NO]), ALLEXCEPT( 'Quotes (2)', 'Quotes (2)'[Quote No] ), ALL('SO (2)') ) RETURN IF( x = 1 && MAX('Quotes (2)'[Opportunity_GUID]) = MAX('SO (2)'[Opportunity_GUID]) && MAX('Quotes (2)'[Opportunity_GUID]) <> BLANK(), MAX('Quotes (2)'[Quote Version]), BLANK() )Then, added a filter and you could get the result:
Best regards,
Lionel ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.