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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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