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
sprao
Helper I
Helper I

Value sum from Lower level-High

Hi Experts,

 

Could you please help me below scnario..i am struggling to get solution..This calcultion with out any Dim table or Copy Table need solution.

 

Graph 1 need sum values for level 1(Actvity) along with level 3 information also sum based on Refer Actvity.

Graph 2 only Level 3 information

Question.PNG

Please help me....

 

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

Hi, @sprao 

In the ‘Fields’ pane, you can create two measure. Here they are.

 

SumActual = CALCULATE(SUM('Table B'[Actual Sales]),FILTER(ALL('Table B'),[Actvitity] in FILTERS('Table A'[Actvitity]) || [Actvitity] in SELECTCOLUMNS(FILTER(ALL('Table A'),[ReferA Activity] in FILTERS('Table A'[Actvitity])),"Refer",[Actvitity])))

 

SumTarget = CALCULATE(SUM('Table A'[Target Sales]),FILTER(ALL('Table A'),[Actvitity] in FILTERS('Table A'[Actvitity]) || [ReferA Activity] in FILTERS('Table A'[Actvitity])))

 

Then you can create clustered column charts with measures dragged to the visual level filter pane.

Result:

xxx1.png  xxx2.png

 

If I misunderstand the your thoughts, please inform me of your expected output. I am glad to solve the problem for you.

 

Best Regards,

Allan

 

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

1 REPLY 1
v-alq-msft
Community Support
Community Support

Hi, @sprao 

In the ‘Fields’ pane, you can create two measure. Here they are.

 

SumActual = CALCULATE(SUM('Table B'[Actual Sales]),FILTER(ALL('Table B'),[Actvitity] in FILTERS('Table A'[Actvitity]) || [Actvitity] in SELECTCOLUMNS(FILTER(ALL('Table A'),[ReferA Activity] in FILTERS('Table A'[Actvitity])),"Refer",[Actvitity])))

 

SumTarget = CALCULATE(SUM('Table A'[Target Sales]),FILTER(ALL('Table A'),[Actvitity] in FILTERS('Table A'[Actvitity]) || [ReferA Activity] in FILTERS('Table A'[Actvitity])))

 

Then you can create clustered column charts with measures dragged to the visual level filter pane.

Result:

xxx1.png  xxx2.png

 

If I misunderstand the your thoughts, please inform me of your expected output. I am glad to solve the problem for you.

 

Best Regards,

Allan

 

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

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