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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Christianeb
New Member

DAX help

Hi everyone !  DAX is hard for me. I am hoping you guys could help me please ...
x.jpg

 

y.jpg


Is this what i'm supposed to do?

z.jpg

and this is what i've done, but it is obviously not right since it doesn't work. can someone help me please ? sorry for being such a newbie

1 ACCEPTED SOLUTION
ray_ux
Memorable Member
Memorable Member

Hi @Christianeb  on the last pic, 1 instead of "1"
And In powerquery do something along the lines of: = Table.AddColumn(#"previousstep", "Churned", each if [Churn label] = "Yes" then 1 else 0) oh this is a powerquery solution for a new collumn btw, there's probably some DAX magismo out there also

View solution in original post

2 REPLIES 2
ray_ux
Memorable Member
Memorable Member

Hi @Christianeb  on the last pic, 1 instead of "1"
And In powerquery do something along the lines of: = Table.AddColumn(#"previousstep", "Churned", each if [Churn label] = "Yes" then 1 else 0) oh this is a powerquery solution for a new collumn btw, there's probably some DAX magismo out there also

It works, Ty for help

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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