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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Can I add the sum of two visuals?

Hi all,

 

I am a new user to Power BI and and looking for help.

 

I am looking to add the total from a Table Visual and the value from a Data Card Visual to give me a grand total.

Both visuals are created with filters

 

I am looking to create a data card showing a total of 15,926

 

 

PBI.PNG

I don't even know if what I am asking is possible

 

Any help would be great

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @v-frfei-msft 

 

I recreated the two visuals through Dax, and was able to get the desired outcome:

 

Total_Withdraw =
Calculate(
    SUM('SHEET1_UPDATED_WEEK24'[count]),
    NOT 'SHEET1_UPDATED_WEEK24'[New_Payment_Method] IN{"DD-CPS","DD-VDD"},
    'SHEET1_UPDATED_WEEK24'[old_payment_method] IN {"DD-CPS","DD-VDD"},
    'SHEET1_UPDATED_WEEK24'[pivot]="contract movement")
+
Calculate(
    sum('SHEET1_UPDATED_WEEK24'[count]),
    'SHEET1_UPDATED_WEEK24'[pivot]="accounts withdrawn")
 
Thanks for your help

View solution in original post

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

One sample as below. Here we can create a measure to work on it.

 

Measure = SUM('Table'[Volume])+SUM('Table'[withdrawn])

Capture.PNG

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

Hi @v-frfei-msft 

 

I recreated the two visuals through Dax, and was able to get the desired outcome:

 

Total_Withdraw =
Calculate(
    SUM('SHEET1_UPDATED_WEEK24'[count]),
    NOT 'SHEET1_UPDATED_WEEK24'[New_Payment_Method] IN{"DD-CPS","DD-VDD"},
    'SHEET1_UPDATED_WEEK24'[old_payment_method] IN {"DD-CPS","DD-VDD"},
    'SHEET1_UPDATED_WEEK24'[pivot]="contract movement")
+
Calculate(
    sum('SHEET1_UPDATED_WEEK24'[count]),
    'SHEET1_UPDATED_WEEK24'[pivot]="accounts withdrawn")
 
Thanks for your help

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.