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.
Hello,
I am attempting to calculate Total Quotes at a moment in time. I have an ID, close date and quote date columns. What I wish to do in the 2nd table is to calculate how many opps had previously become quotes before the end of the month and had not closed before that month. I also have a Close date Year filter on this report set to 2017. I've tried several different filters on measures, to no success.
Solved! Go to Solution.
Hi @cthurston ,
I'm not quite sure what you want. If I understand you correctly, you can create a measure like so:
Measure =
CALCULATE (
COUNTROWS ( 'Table' ) + 0,
FILTER (
'Table',
'Table'[QualProspectToQuote Date] <> BLANK ()
&& MONTH ( 'Table'[QualProspectToQuote Date] ) <= MONTH ( MAX ( 'Date'[Date] ) )
&& MONTH ( 'Table'[Close Date Actual] ) > MONTH ( MAX ( 'Date'[Date] ) )
)
)
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @cthurston ,
I'm not quite sure what you want. If I understand you correctly, you can create a measure like so:
Measure =
CALCULATE (
COUNTROWS ( 'Table' ) + 0,
FILTER (
'Table',
'Table'[QualProspectToQuote Date] <> BLANK ()
&& MONTH ( 'Table'[QualProspectToQuote Date] ) <= MONTH ( MAX ( 'Date'[Date] ) )
&& MONTH ( 'Table'[Close Date Actual] ) > MONTH ( MAX ( 'Date'[Date] ) )
)
)
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Is Date[Date] related to your fact table in this case? This looks like what I initially tried but maybe in my fustration I missed and operator.
Hi @cthurston ,
No relationship between the two tables.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |