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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
borniex
Frequent Visitor

Calculation based on hierarchy

Hello

 

 I have a hierarchy model. How can I calculate the required material based on the model? How much do I need for order quantity from ID 5 # 6?

1 ACCEPTED SOLUTION
v-jayw-msft
Community Support
Community Support

Hi @borniex ,

 

I think ALLEXCELT() function might help you.

Simple example as below.

Measure = CALCULATE(SUM('Table'[Column3]),ALLEXCEPT('Table','Table'[Column1]))

 1.PNG

 

Best Regards,

Jay

Community Support Team _ Jay Wang

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

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

3 REPLIES 3
v-jayw-msft
Community Support
Community Support

Hi @borniex ,

 

I think ALLEXCELT() function might help you.

Simple example as below.

Measure = CALCULATE(SUM('Table'[Column3]),ALLEXCEPT('Table','Table'[Column1]))

 1.PNG

 

Best Regards,

Jay

Community Support Team _ Jay Wang

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

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
amitchandak
Super User
Super User

how can to attach pbix file?

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.