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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.

Top Solution Authors