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! Learn more

Reply
floarea_pitu
Frequent Visitor

Calculating Intake value for a product

Hello, can you please help me with the folowing question? How can I calculate the Target Intake? What formula for measure should I use? Thank you!

IntakeProductTargetTarget Intake
JanuaryA100(Target A+Target B) for January Intake
JanuaryB100(Target A+Target B) for January Intake
MarchA200(Target A+Target B) for March Intake
MarchB150(Target A+Target B) for March Intake
1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @floarea_pitu ;

Try it.

Target Intake = CALCULATE(SUM('Table'[Target]),ALLEXCEPT('Table','Table'[Intake]))

the final show:

vyalanwumsft_0-1668393207474.png


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
v-yalanwu-msft
Community Support
Community Support

Hi, @floarea_pitu ;

Try it.

Target Intake = CALCULATE(SUM('Table'[Target]),ALLEXCEPT('Table','Table'[Intake]))

the final show:

vyalanwumsft_0-1668393207474.png


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

mangaus1111
Solution Sage
Solution Sage

Hi @floarea_pitu ,

did you try a measure or calculated column?

Both of them

 

Can you send a screenshot where I can see the wrong result?

mangaus1111
Solution Sage
Solution Sage

Hi @floarea_pitu ,

try with this measure

 

CALCULATE(

       SUM('Table'[Target]),

     ALL('Table'[Product])

 )

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I just tried, it doesn't work, I obtain the same values as in the target column....

 

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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