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 August 31st. Request your voucher.

Reply
nishak323
New Member

Power BI - DAX

Hi ,looking for a help to calculate total on each row by ignoring strings at power bi (DAX) 

data:

data sample.PNGexpected:

EXPECTED.PNG

Tried the below measure just for one column but since am using filter, its eliminating the rows which contain SL but i required remaining data totals just by ignoring particular strings(cell value)

Measure =
var data = SUMX(FILTER(Append1, Append1[7/6/2023]<>"SL"), VALUE(Append1[7/6/2023]))

return data
 
looking for suggestions!!
 
 

 

 

1 REPLY 1
rubayatyasmin
Super User
Super User

Hi, @nishak323 

 

Try to use isnumber function. for example:

 

Total =
IF(ISNUMBER([Monday]), [Monday], 0) +
IF(ISNUMBER([Tuesday]), [Tuesday], 0) +
IF(ISNUMBER([Wednesday]), [Wednesday], 0)

 

here is the documentation for ISNUMBER DAX function. ISNUMBER function (DAX) - DAX | Microsoft Learn

 

rubayatyasmin_0-1689517080227.png


Did I answer your question? Mark my post as a solution!super-user-logo

Proud to be a Super User!


Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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