This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I need to convert the tableau calculated field to Power BI
zn(sum([column 1]) + sum([column 2]))
Thanks in advance
Hi @asdf1608 ,
Try this as a measure:
COALESCE(SUM(yourTable[Column1]) + SUM(yourTable[Column2]), 0)
Pete
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
Proud to be a Datanaut!
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.