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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
colintemlett
Regular Visitor

Table Total

Hi

 

Is it possible to do a specific callcualtion for a row/colum total

Per below i need the total NBCP value to being the Total RFS/Total NWB = 435 and not the sum of that column??

 

Help will be highly appreciated

colintemlett_0-1664282731669.png

 

1 ACCEPTED SOLUTION

Hey!

That would be something like this:

CALCULATE(
	SUM( YourColumnToSum),
	ColumnwithText = "YourWord"
)

Let me know if that helps!

View solution in original post

5 REPLIES 5
colintemlett
Regular Visitor

Hi Pablo

 

Need some help on a formula...

 

What formula would i use if i wanted to total a column value if it includes a specific word in anothe column?

 

If there is a word in column X c that is CONT sum the total colum for only those rows that have that word in the colum X?

Hey!

That would be something like this:

CALCULATE(
	SUM( YourColumnToSum),
	ColumnwithText = "YourWord"
)

Let me know if that helps!

PabloDeheza
Solution Sage
Solution Sage

Hi there!

You can try:

Measure = 
IF(
    HASONEVALUE( YourCategory ),
    CurrentCalculation,
    Total RFS/Total NWB
)

Let me know if that helps!

Hi

 

Sorry a little confused with the below..what would I add to category…and I cant seem to add in a formula at te end..do i need to do a measure for the total RFS and total NWB

Measure = IF( HASONEVALUE( YourCategory ), [NBCP per RFS] , Total RFS/Total NWB )

colintemlett_0-1664358420128.png

 

 

 

colintemlett_1-1664358420134.png

 

Hi!

CAB would be you "Category", I assume CAB stands for "Cabinet" which you already added, so it looks good. 

For Total RFS/Total NWB you need to either create a measure that returns the value you want in the total, or apply the calulation right there.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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