Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Megadeth
Frequent Visitor

Measure with a factor table.

Hi! 

 

I´ve created this table containing all my my processes and corresponding factors. I want to use factors for each process beacuse when im forecasting i tend to see trends changing on process level. 

 

So I´ve created my measure: 

 

"ForeCastWithFactors = [Forecast] * CALCULATE(SUMX('ProcessFactors'; 'ProcessFactors'[ProcessFactor]))"

 

and row by row it works as expected, it increases the forecast by the factor (they are all 1.07 at the time) 

However the problem is the total. its Obviously calculating the sum of all the factors x sum of forecast. and thus its not really usable in a bar chart for example. 

 

Anyone know how to rewrite this so it works? 

 

 

FactorTable

 

1 ACCEPTED SOLUTION
MattAllington
Community Champion
Community Champion

I guess it is this. 

 

ForeCastWithFactors =  SUMX('ProcessFactors'; [forecast] * ‘ProcessFactors'[ProcessFactor])

 

Maybe even this

 

ForeCastWithFactors =  SUMX(values('ProcessFactors'[processfactor]); [forecast] * ‘ProcessFactors'[ProcessFactor])



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

View solution in original post

2 REPLIES 2
MattAllington
Community Champion
Community Champion

I guess it is this. 

 

ForeCastWithFactors =  SUMX('ProcessFactors'; [forecast] * ‘ProcessFactors'[ProcessFactor])

 

Maybe even this

 

ForeCastWithFactors =  SUMX(values('ProcessFactors'[processfactor]); [forecast] * ‘ProcessFactors'[ProcessFactor])



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

I cannot thank you enough, altough i feel very stupid for that simple sollution 🙂

 

Thanks again! SUMX('ProcessFactors'; [forecast] * ‘ProcessFactors'[ProcessFactor]) worked like a charm. 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors