cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ira_Ira
Frequent Visitor

not working as expected

hi all

    
    
    
    
    
    
    
1 ACCEPTED SOLUTION
bolfri
Solution Sage
Solution Sage

Count oppo =
var current_stage_id = MAX(dim_stage[stage_id])
return
SUMX(
SUMMARIZE(
ALL(fact_opp),
fact_opp[Opp ID],
"max stage",MAX(dim_stage[stage_id])
),
IF([max stage] >= current_stage_id,1)
)
 
bolfri_0-1679612873242.png

 

View solution in original post

1 REPLY 1
bolfri
Solution Sage
Solution Sage

Count oppo =
var current_stage_id = MAX(dim_stage[stage_id])
return
SUMX(
SUMMARIZE(
ALL(fact_opp),
fact_opp[Opp ID],
"max stage",MAX(dim_stage[stage_id])
),
IF([max stage] >= current_stage_id,1)
)
 
bolfri_0-1679612873242.png

 

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors