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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Tableau to Power BI

case [REJECT_CNT] when 0 then 0 else 1 end,

How to conver this tableau into powe BI 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , If , Switch

 

If([REJECT_CNT] =0 ,0,1)

 

or

 

Switch(True() ,

[REJECT_CNT] =0,0

1)

 

Check if this series can help

https://amitchandak.medium.com/migrating-from-tableau-to-power-bi-15a51b632e91

 

or

Switch-Case statement of #PowerBI: https://www.youtube.com/watch?v=gelJWktlR80&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=56

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , If , Switch

 

If([REJECT_CNT] =0 ,0,1)

 

or

 

Switch(True() ,

[REJECT_CNT] =0,0

1)

 

Check if this series can help

https://amitchandak.medium.com/migrating-from-tableau-to-power-bi-15a51b632e91

 

or

Switch-Case statement of #PowerBI: https://www.youtube.com/watch?v=gelJWktlR80&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=56

Anonymous
Not applicable

Thank You it, works 

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.