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
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
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.