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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
asdf1608
Helper V
Helper V

Need help with DAX

I need to convert the tableau calculated field to Power BI

zn(sum([column 1]) + sum([column 2]))

 

Thanks in advance

3 REPLIES 3
BA_Pete
Super User
Super User

Hi @asdf1608 ,

 

Try this as a measure:

COALESCE(SUM(yourTable[Column1]) + SUM(yourTable[Column2]), 0)

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




@BA_Pete I tried the same but the values seems to be wrong.

In tableau I got another value and in Power bI got another value. 

Is there any other reasons

 

Almost impossible to say without being able to see the detail behind it all.

Coalesce should work fine, but you could try this as an alternative:

VAR __calc =
SUM(yourTable[Column1]) + SUM(yourTable[Column2])
RETURN
IF( ISBLANK(__calc), 0, __calc)

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




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.

Top Solution Authors