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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
RayWu
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
RayWu
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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.